home *** CD-ROM | disk | FTP | other *** search
/ Java Programmer's Toolkit / Java Programmer's Toolkit.iso / gs3.53 / news < prev    next >
Text File  |  1996-01-10  |  206KB  |  5,622 lines

  1.    Copyright (C) 1989, 1995 Aladdin Enterprises.  All rights reserved.
  2.   
  3.   This file is part of Aladdin Ghostscript.
  4.   
  5.   Aladdin Ghostscript is distributed with NO WARRANTY OF ANY KIND.  No author
  6.   or distributor accepts any responsibility for the consequences of using it,
  7.   or for whether it serves any particular purpose or works at all, unless he
  8.   or she says so in writing.  Refer to the Aladdin Ghostscript Free Public
  9.   License (the "License") for full details.
  10.   
  11.   Every copy of Aladdin Ghostscript must include a copy of the License,
  12.   normally in a plain ASCII text file named PUBLIC.  The License grants you
  13.   the right to copy, modify and redistribute Aladdin Ghostscript, but only
  14.   under certain conditions described in the License.  Among other things, the
  15.   License requires that the copyright notice and this notice be preserved on
  16.   all copies.
  17.  
  18. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  19.  
  20. This file, NEWS, describes the changes in the most recent releases of
  21. Ghostscript.  Changes in older releases are described in history.doc.
  22.  
  23. For an overview of Ghostscript and a list of the documentation files, see
  24. README.
  25.  
  26. Within each release, news appears in the following order: Documentation,
  27. Procedures, Utilities, Drivers, Platforms, Fonts, Interpreter, Streams
  28. (included under Interpreter through release 2.9.9), Library.  Changes
  29. marked with a * were made available as patches to a previous release.
  30.  
  31. Version 3.53 (1/10/96)
  32. ============
  33.  
  34. This is an anomalous, out-of-sequence release requested by a commercial
  35. licensee.  It consists of 3.52 plus the following retrofits from 3.60
  36. through 3.63:
  37.     - PDF interpreter and pdf2ps;
  38.     - Type 1 rasterizer fixes;
  39.     - Type 1 rasterizer and polygon fill performance improvements;
  40.     - MS Windows and OS/2 fixes;
  41.     - A few other important fixes.
  42. It does NOT fix all problems reported since 3.52.
  43.  
  44. The list of changes below indicates which subsequent release was the source
  45. of each change.  In several cases, minor editing of the change was required
  46. to make it compatible with 3.52.
  47.  
  48. Documentation
  49. -------------
  50.  
  51. Fixes bugs:
  52.     [3.61] The analysis of curve monotonocity in gxpcopy.c had an error.
  53. (gxpcopy.c)
  54.  
  55. [3.63] Notes that the OS/2 implementation now requires EMX/GCC 0.9b rather
  56. than 0.9a.  (use.doc)
  57.  
  58. [3.62] Notes that for Win32s, gs16spl.exe must be in the same directory as
  59. gswin32.exe.  (use.doc)
  60.  
  61. [3.62] Adds a reference to dos-psv, another "dumb terminal" user interface
  62. for Ghostscript intended for MS-DOS users.  (README)
  63.  
  64. [3.61] Adds a pointer to DEC's free pstotext utility.  (README)
  65.  
  66. [3.60] Adds a reference to ps_view.ps, a "dumb terminal" user interface for
  67. Ghostscript intended for MS-DOS users.  (README)
  68.  
  69. Procedures
  70. ----------
  71.  
  72. Fixes bugs:
  73.     [3.60] The geninit program (the implementation of COMPILE_INITS=1)
  74. didn't parse the command line properly, and didn't check for PostScript
  75. files properly.  (geninit.c)
  76.     [3.60] ccfontab.c was omitted from the fileset.  The easiest way to
  77. fix this was to rename it to icfontab.c.  (gs.mak, int.mak, ccfontab.c)
  78.     [3.60] The definition of pdfread.dev did an ADDMOD, not a SETMOD.
  79. (int.mak)
  80.  
  81. [3.60] Adds a -dNOFONTPATH switch to suppress any consultation of the
  82. FONTPATH variable or the GS_FONTPATH environment variable.  (gs_fonts.ps,
  83. gs_init.ps)
  84.  
  85. Utilities
  86. ---------
  87.  
  88. Fixes bugs:
  89.     [3.61] pdf2ps didn't write Widths or Encoding in the converted file,
  90. producing incorrect spacing and incorrect characters.  (pdf_2ps.ps)
  91.     [3.60] ps2ascii left a value on the stack for each unrecognized
  92. character it processed, eventually causing a stackoverflow.  (ps2ascii.ps)
  93.  
  94. [3.61] Changes the rollconv.ps utility to produce files whose names conform
  95. to the 8.3 length restriction, and to reduce the fixed RAM overhead for
  96. Kanji fonts.  (rollconv.ps)
  97.  
  98. [3.60] Adds a utility for converting files produced by Macromedia's Rollup
  99. program to a Type 0 form directly usable by Ghostscript.  (rollconv.ps)
  100.  
  101. Drivers
  102. -------
  103.  
  104. Fixes bugs:
  105.     [3.60] Because of a typo, the LaserJet drivers had incorrect
  106. margins.  This was probably a new bug in 3.5x.  (gdevdjet.c)
  107.     [3.60] A private name was duplicated.  (gdevtfax.c)
  108.     [3.60] The x11alpha driver passed invalid colors to the X library.
  109. (gdevxalt.c)
  110.     [3.60] The x11alpha driver set the blue component of colors
  111. incorrectly.  (gdevxalt.c)
  112.  
  113. Platforms
  114. ---------
  115.  
  116. Fixes bugs:
  117.     [3.63] The test for WinExec failure on Win32 was incorrect.
  118. (gp_mswin.c)
  119.     [3.63] getenv was declared redundantly on OS/2.  (gp_os2.c)
  120.     [3.63] gs16spl.c was missing <string.h>.  (gs16spl.c)
  121.     [3.61] Printing didn't work in 32-bit MS Windows environments.
  122. (bcwin32.mak, gdevmswn.c, gp_mswin.c)
  123.     [3.61] There were some compatibility problems with IBM C.  (os2.mak,
  124. gsdll.h, gdevpm.c, gp_os2.c)
  125.     [3.60] The printjob created by Ghostscript was called "Ghostscirpt"
  126. instead of "Ghostscript".  (gp_os2.c)
  127.     [3.60] An "export" declaration was omitted from DllInit.
  128. (gp_mswin.c)
  129.  
  130. [3.61] Adds a conditional to work around a bug in gcc 2.7.x (it didn't
  131. recognize that the target of a const T * might still be mutable through
  132. aliasing).  (stdpre.h)
  133.  
  134. Fonts
  135. -----
  136.  
  137. Fixes bugs:
  138.     [3.61] Rasterizing a character in a Type 1 font with an invalid
  139. FontBBox left some garbage on the operand stack (bug introduced in 3.52 or
  140. 3.60).  (gs_type1.ps)
  141.     [3.61] The font substitution algorithm could fail or loop.
  142. (gs_fonts.ps)
  143.  
  144. [3.60] Adds Heavy as a synonym for Bold when doing intelligent font
  145. substitution.  (gs_fonts.ps)
  146.  
  147. Interpreter
  148. -----------
  149.  
  150. Fixes bugs:
  151.     [3.63] Invoking setpagedevice with an undefined key, even with
  152. Policy = 1, caused an error.  (gs_setpd.ps)
  153.     [3.62] Setting the PageSize policy to 1 and then trying to set the
  154. page size caused an error if FIXEDMEDIA was selected.  (gs_setpd.ps)
  155.     [3.61] Rotated characters were rendered incorrectly (bug introduced
  156. in 3.52).  (gstype1.c)
  157.     [3.60] currentscreen and currentcolorscreen could give an error if
  158. the current screen was set with sethalftone (or, for currentscreen,
  159. setcolorscreen).  (gs_dps1.ps)
  160.     [3.60] Streams could get removed from a bookkeeping list
  161. prematurely, and wind up dangling.  (zfile.c)
  162.     [3.60] Multiple -I switches set the search path incorrectly.
  163. (gsmain.c)
  164.     [3.60] Fonts could wind up with a pointer to the wrong VM space,
  165. causing potential GC or save/restore confusion.  (zfont2.c)
  166.     [3.60] upath could leave garbage on the stack if it failed.
  167. (gs_dps1.ps)
  168.  
  169. [3.61] Extends the client API to allow for pushing values onto the operand
  170. stack.  (imain.h, gs.c, gsmain.c)
  171.  
  172. [3.61] Defines a .setdefaultscreen procedure that sets the default halftone
  173. screen, transfer function, and stroke adjustment for the current device.
  174. Changes selectdevice and setpagedevice so that they call .setdefaultscreen;
  175. setpagedevice calls .setdefaultscreen before calling the Install procedure,
  176. so that Install can set different parameters if it wishes.  Note that
  177. setdevice does not do this.  (gs_init.ps, gs_setpd.ps)
  178.  
  179. [3.60] Speeds up rasterizing characters into the cache a little.
  180. (gs_type0.ps)
  181.  
  182. [3.60] Changes the default limit on the size of cached characters from the
  183. maximum of (18 points or 5 times the "average" character size) to (18 points
  184. or 1% of the total cache size).  (gs_init.ps)
  185.  
  186. [3.60] Implements parts of the Type 1 BuildChar callout in C.  (gs_type1.ps,
  187. zchar.c)
  188.  
  189. Interpreter (PDF)
  190. -----------------
  191.  
  192. Fixes bugs:
  193.     [3.62] If a PDF file substituted a calibrated color space for the
  194. DeviceGray or DeviceRGB color space using a ColorSpace resource, the
  195. PostScript file that pdf2ps produced from that PDF file caused an error.
  196. (gs_pdf.ps)
  197.     [3.61] Tf set the current text font twice, and interacted with
  198. pdf2ps in an awkward way.  (gs_pdf.ps, pdf_2ps.ps, pdf_font.ps)
  199.     [3.61] If a font had variant Widths, it could get confused in the
  200. cache with the underlying font.  (pdf_font.ps)
  201.     [3.61] If a character appeared twice in an encoding and the font
  202. specified different Widths values for the two occurrences, the last Width
  203. would be used.  We patched this to ignore zero Widths, which is not the
  204. correct solution but which almost always produces correct output.
  205. (pdf_font.ps)
  206.     [3.61] Arrays containing nulls didn't print out correctly (bug
  207. introduced in 3.60).  (gs_init.ps)
  208.     [3.61] Some PDF files contain very large dictionaries, which caused
  209. a stackoverflow.  (pdf_base.ps)
  210.     [3.60] The length of an image's data was sometimes calculated
  211. incorrectly, causing an error when converting PDF to PostScript.
  212. (pdf_draw.ps)
  213.     [3.60] If word spacing and/or text spacing was non-zero, an error
  214. could occur.  (gs_pdf.ps)
  215.     [3.60] Text that was both filled and stroked caused an error.
  216. (gs_pdf.ps)
  217.  
  218. [3.61] Speeds up the initial processing of PDF files by caching the map from
  219. page numbers to page objects, and by not scanning the outlines if we aren't
  220. producing PostScript output.  (pdf_2ps.ps, pdf_base.ps, pdf_main.ps)
  221.  
  222. Streams
  223. -------
  224.  
  225. Fixes bugs:
  226.     [3.60] When closing an encoding filter stream whose target was also
  227. a filter, the latter could get called incorrectly with last = 1, possibly
  228. more than once, leading to premature EOD markers.  (stream.c)
  229.     [3.60] The LZW-compatible encoder put out an incorrect end-of-data
  230. code.  (slzwce.c)
  231.     [3.60] The LZW-compatible encoder didn't put out a reset code soon
  232. enough.  (slzwce.c)
  233.     [3.60] Doing a sgets on a closed stream could call sreadbuf,
  234. possibly causing an error.  (stream.c)
  235.  
  236. Library
  237. -------
  238.  
  239. Fixes bugs:
  240.     [3.63] On 16-bit platforms, the computation of t2 and t3 in
  241. gx_curve_x_at_y could overflow, leading to incorrect output.  (gxpcopy.c)
  242.     [3.61] glyphshow displayed a character with code 0 rather than the
  243. requested character (bug introduced in 3.60.)  (gschar.c)
  244.     [3.61] If trimming white space around a character reduced its
  245. raster, the character was garbled in the cache (bug introduced in 3.60.)
  246. (gxccman.c)
  247.     [3.61] colorimage would incorrectly convert white pixels to black if
  248. the image color space was CMYK, the current color space was not CMYK, and
  249. the number of bits per pixel was 4 or 8.  (gsimage2.c)
  250.     [3.61] Type 1 fonts that used the Flex feature applied hints to the
  251. path multiple times, causing dropouts, uneven stems, and other problems (bug
  252. probably introduced in 3.21).  (gstype1.c)
  253.     [3.61] If a Type 1 font used the Flex feature within the accent of
  254. an accented character defined with seac, the shape of the accent could be
  255. distorted.  (gxtype1.h, gstype1.c)
  256.     [3.61] If a Type 1 font changed hints using the hint replacement
  257. facility when the last operation was a closepath, the old hints would be
  258. applied a second time, distorting the shape.  (gxhint2.c, gxhint3.c)
  259.     [3.60] Cached characters sometimes had extra blank space on the
  260. left, leading to some unnecessary bit-shuffling when imaging them.
  261. (gxccman.c)
  262.     [3.60] The list of all-bands commands wasn't initialized/reset
  263. properly.  (gxclist.c)
  264.     [3.60] Because of a typo in a macro formal parameter list, a private
  265. name was duplicated.  (gsstruct.h)
  266.     [3.60] Text display operations didn't update the current character
  267. in the enumerator structure during the fastest path through the code.  This
  268. only matters to one very unusual commercial client.  (gschar.c)
  269.  
  270. [3.61] Adds an alternative implementation of the core path filling algorithm
  271. that is much faster on objects with curves but doesn't handle Y fattening.
  272. This is the implementation that will normally be used for rasterizing
  273. characters.  This implementation rasterizes curves directly, without
  274. flattening them.  (gxfixed.h, gxpath.h, gzpath.h, gxdraw.c, gxfill.c,
  275. gxpcopy.c)
  276.  
  277. [3.61] Speeds up the flattening of curves substantially by omitting more
  278. redundant points.  (gxpcopy.c)
  279.  
  280. [3.61] Speeds up character bitmap compression a little more.  (gsbitops.h,
  281. gdevabuf.c, gsbitops.c, gxccman.c)
  282.  
  283. [3.61] Speeds up anti-aliased graphics a bit by computing a bounding box
  284. before converting from oversampling to alpha values, and by speeding up the
  285. bounding box computation itself.  (gsbitops.h, gdevabuf.c, gsbitops.c,
  286. gxccman.c)
  287.  
  288. [3.60] Speeds up getting the side bearing and width of a Type 1 charstring a
  289. little.  (gxtype1.h, gstype1.c)
  290.  
  291. [3.60] Adds a compile-time option, ALPHA_LSB_FIRST, which causes
  292. alpha-sampled characters to be nibble-reversed in the cache.  This was
  293. created for a specialized application and does not interact well with the
  294. rest of the code.  (gsbitops.c)
  295.  
  296. [3.60] Substantially speeds up entering anti-aliased characters in the
  297. cache, by removing white space before compressing rather than vice versa.
  298. (gsbitops.c, gxccman.c)
  299.  
  300. Version 3.52(limited) (10/6/95)
  301. =====================
  302.  
  303. This is an incremental release to fix a few problems in 3.51.  Since it is
  304. being made in an environment with no network connectivity, it will probably
  305. not be released to the general public.  ****** THE CHANGES MARKED WITH ***
  306. BELOW WERE LOST IN THE PROCESS OF SHUFFLING FILESETS BETWEEN ENVIRONMENTS.
  307. THEY ARE INCORPORATED IN 3.60 BUT NOT IN 3.52. ******
  308.  
  309. Procedures
  310. ----------
  311.  
  312. Fixes bugs:
  313.     - The fileset included a meaningless empty file.  (acctest.ps)
  314.     *** The definition of pdfread.dev did an ADDMOD, not a SETMOD.
  315. (int.mak)
  316.  
  317. Interpreter
  318. -----------
  319.  
  320. Fixes bugs:
  321.     - The RunLengthEncode filter used with a dictionary argument could
  322. give a spurious error.  (zfilter.c)
  323.     - The fast form of the 'dup' operator failed to check for stack
  324. overflow, which could lead to memory smashing.  (interp.c)
  325.     *** Level 1 configurations gave errors during initialization.
  326. (ialloc.c, iinit.c, ireclaim.c)
  327.     *** Attempting to look up or insert a noaccess string as a
  328. dictionary key converted the string to a name rather than giving an error.
  329. (idict.h, idict.c)
  330.  
  331. Adds a C implementation of the .dicttomark (>>) procedure.  (gs_init.ps,
  332. zdict.c)
  333.  
  334. *** Implements parts of the Type 1 BuildChar callout in C.  (gs_type1.ps,
  335. ifont.h, zchar.c, zfont1.c, zfont2.c)
  336.  
  337. Library
  338. -------
  339.  
  340. Fixes bugs:
  341.     - Braces were missing in an initializer.  (gxdcolor.h)
  342.     - Composite fonts with a non-zero translation in the FontMatrix
  343. positioned characters incorrectly.  (gschar.c)
  344.     *** gsparam.c wouldn't compile with some versions of the Borland
  345. compiler.  (gsparam.c)
  346.  
  347. Speeds up the handling of curve segments in Type 1 fonts a little.
  348. (gstype1.c)
  349.  
  350. Speeds up displaying very short strings a little.  (gschar.c)
  351.  
  352. *** Implements parts of the Type 1 BuildChar callout in C.  (gxfont.h)
  353.  
  354. Version 3.51 (9/27/95)
  355. ============
  356.  
  357. This is the first public release since 3.33.  Its main features are a
  358. working setpagedevice, a working PDF interpreter, and a working PDF to PS
  359. converter.
  360.  
  361. Documentation
  362. -------------
  363.  
  364. Fixes bugs:
  365.     - The -dSHORTERRORS switch wasn't documented in enough places.
  366. (current.doc, use.doc)
  367.     - The DLL documentation was internally inconsistent.  (dll.doc)
  368.     - The %pipe% file name syntax wasn't documented.  (language.doc)
  369.  
  370. Procedures
  371. ----------
  372.  
  373. Fixes bugs:
  374.     - caption.ps wasn't installed properly.  (unix-end.mak)
  375.     - geninit depended on $(gconfig_h) in an improper way.  (geninit.c,
  376. int.mak, *.mak)
  377.     - One script lacked the #!/bin/sh header.  (gsdj500)
  378.  
  379. Adds the 24-bit color TIFF driver to all configurations that support
  380. black-and-white TIFF.  (*.mak)
  381.  
  382. Utilities
  383. ---------
  384.  
  385. Fixes bugs:
  386.     - align.ps was omitted from the fileset.  (psfiles.doc, align.ps,
  387. unix-end.mak)
  388.  
  389. Drivers
  390. -------
  391.  
  392. Fixes bugs:
  393.     - A driver had some \s in formal parameter lists.  (gdevcdj.c)
  394.     - A driver had some improper &s.  (gdevtifs.c)
  395.     - The default MS Windows printer driver was very slow.  (gdevwpr2.c)
  396.     - The (newly restructured) TIFF drivers could produce a memory
  397. access error.  (gdevtifs.c)
  398.     - The CGM drivers referred to an obsolete structure member.
  399. (gdevcgm.c)
  400.     - The black-and-white H-P drivers didn't set the margins properly
  401. (again).  (gdevdjet.c)
  402.     - Several of the most common printer drivers omitted some scan lines
  403. at the bottom of the page.  (gdevprn.h, gdevprn.c)
  404.  
  405. At the request of the main OS/2 developer, adds a printer device for OS/2.
  406. (gdevos2p.c, os2.mak)
  407.  
  408. Makes many changes to the stcolor driver, submitted by the developer just
  409. before the release.  (devices.doc, unix-end.mak, gdevstc.h, gdevstc*.c,
  410. stcinfo.ps, stcolor.ps, stcinfo.ps)
  411.  
  412. Platforms
  413. ---------
  414.  
  415. Fixes bugs:
  416.     - usertime (and realtime) were broken on VMS.  (gp_vms.c)
  417.     - The 32-bit MS Windows DLL control file had a typo.  (gsdll32.def)
  418.  
  419. Removes the color inkjet drivers from the 16-bit Windows executable, because
  420. they overflow the 64K default data segment; adds PCX, TIFF, and BMP output
  421. formats.  (bcwin.mak)
  422.  
  423. Interpreter
  424. -----------
  425.  
  426. Fixes bugs:
  427.     - A routine was declared 'private' inconsistently.  (zcie.c)
  428.     - -dSHORTERRORS didn't remove enough non-Adobe error output.
  429. (gs_init.ps)
  430.  
  431. Interpreter (PDF)
  432. -----------------
  433.  
  434. Fixes bugs:
  435.     - The ProcSet relied on the presence of NullFont.  (gs_pdf.ps)
  436.  
  437. Library
  438. -------
  439.  
  440. Fixes bugs:
  441.     - There was an extraneous \ outside a macro.  (gsline.c)
  442.     - Scaling up a black-and-white image could caused many scan lines to
  443. be inverted.  (gsimage1.c)
  444.     - The initial clipping path did not take Margins into account
  445. properly.  (gxdevice.h, gdevxalt.c, gscoord.c, gsdevice.c, gsdevmem.c,
  446. gsdparam.c, gspath.c)
  447.     - If banding was required, characters could come out as solid black
  448. rectangles.  (gxclist.c, gxclread.c)
  449.  
  450. Version 3.50(limited) (9/24/95)
  451. =====================
  452.  
  453. This is the last limited bug-fix release during beta test.  The color
  454. DeskJet drivers are broken (they sometimes produce black rectangles instead
  455. of characters); we will fix this in the next release.
  456.  
  457. The following issues have been postponed to an unspecified future release:
  458.     - Filling areas often writes pixels twice, causing incorrect output
  459. with certain unusual RasterOp values.  [1.814]
  460.     - The tar.gz archives should include a subdirectory like gs-3.46/ in
  461. the file names.
  462.     - The CCITTFaxDecode filter should skip initial junk if EndOfLine =
  463. true.  [1844 8/24/95, NRE]
  464.  
  465. Procedures
  466. ----------
  467.  
  468. Fixes bugs:
  469.     - The name of the new 24-bit TIFF driver was incorrect in one place.
  470. (vms.mak)
  471.  
  472. Utilities
  473. ---------
  474.  
  475. Adds a new utility to put a caption in a box at the bottom of each page.
  476. (caption.ps)
  477.  
  478. Drivers
  479. -------
  480.  
  481. Fixes bugs:
  482.     - The PC display devices weren't page devices.  Probably all the
  483. other display and window system devices should be made page devices too, but
  484. we aren't going to bother tracking them down.  (gdevpcfb.c)
  485.     - There was a lot of duplicated code in the TIFF drivers.
  486. (gdevtifs.h, gdevtfax.c, gdevtfnx.c, gdevtifs.c)
  487.  
  488. Updates the bjc600 / bjc800 drivers with changes from the author.
  489. (devices.doc, gdevbjc.h, gdevcdj.c)
  490.  
  491. Interpreter
  492. -----------
  493.  
  494. Fixes bugs:
  495.     - Building with COMPILE_INITS=1 produced a stackunderflow error.
  496. (gs_pdf_e.ps)
  497.     - An internal operator didn't have a name.  (ztoken.c)
  498.     - Some error and information messages weren't in the Adobe format.
  499. (gs_fonts.ps, gs_init.ps)
  500.     - Some common Adobe compatibility operators weren't implemented:
  501. pagemargin, pageparams, setpagemargin.  (gs_statd.ps, gs_lev2.ps)
  502.     - setpageparams set Margins rather than PageOffset.  (gs_lev2.ps)
  503.     - setpage and setpageparams didn't set Orientation.  (gs_lev2.ps)
  504.     - If the end of an input buffer fell just after the / of a literal
  505. name, a memory access error could occur.  (iscan.c)
  506.     - When the interpreter returned from gs_[main_]run_string_continue,
  507. there could be an extra value on the operand stack.  (iscan.h, istream.h,
  508. interp.c, iscan.c, zfileio.c, zfproc.c, zpaint.c, ztoken.c)
  509.     - If the character cache was disabled, or if a character was too
  510. large to be cached, returning from a font BuildChar procedure could do an
  511. erasepage.  (zchar.c)
  512.  
  513. A minor change was required for compatibility with the library change for
  514. image devices.  (zdevice.c)
  515.  
  516. Adds a -dSHORTERRORS switch that changes some of the common error and
  517. warning messages for greater Adobe compatibility.  (gs_init.ps, gs_fonts.ps)
  518.  
  519. Interpreter (PDF)
  520. -----------------
  521.  
  522. Fixes bugs:
  523.     - If a CharProc for a Type 3 font did a BT/ET, the graphics state
  524. could get confused.  (gs_pdf.ps)
  525.     - If a Tf occurred inside a BT/ET, it didn't take effect on
  526. subsequent BT/ETs.  (gs_pdf.ps)
  527.  
  528. Library
  529. -------
  530.  
  531. Fixes bugs:
  532.     - There was no way to control whether an image device was a page
  533. device.  Fixing this required a NON-BACKWARD-COMPATIBLE CHANGE to
  534. gs_makewordimagedevice and gs_initialize_wordimagedevice to take a Boolean
  535. page_device argument.  Fortunately, this change affects only a few obscure
  536. library clients.  (gsdevice.h, gsdevmem.c)
  537.  
  538. Adds translation capability to clipping devices.  This isn't used anywhere
  539. yet.  (gxcpath.h, gxcpath.c)
  540.  
  541. Adds procedures for doing unaligned copy_xxx operations.  These were added
  542. for a customer.  (gxdevice.h, gsdevice.c)
  543.  
  544. Changes the (undocumented) return value of gs_setcachedevice[2]: they used
  545. to return 1 if the current show operation was a non-displaying one
  546. (stringwidth or cshow), and now return 1 if the cache device was just
  547. installed.  This change was required to fix the BuildChar page clearing bug
  548. in the interpreter.  THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, but as far as
  549. I know, there aren't any external clients of these routines.  (gschar.h,
  550. gschar.c)
  551.  
  552. Version 3.49(limited) (9/20/95)
  553. =====================
  554.  
  555. This is another bug-fix release during beta test.  There are other bugs
  556. outstanding, but the ones I know about right now are all platform-specific.
  557.  
  558. Documentation
  559. -------------
  560.  
  561. Fixes bugs:
  562.     - make.doc didn't mention that the .def files are needed to build a
  563. MS Windows executable.  (make.doc)
  564.  
  565. Procedures
  566. ----------
  567.  
  568. Fixes bugs:
  569.     - There were some forward references to macro definitions in the
  570. makefiles.  (int.mak, lib.mak)
  571.     - The default device for library configurations was the null page
  572. device, not the first device in DEVICE_DEVS.  (ugcclib.mak)
  573.  
  574. Drivers
  575. -------
  576.  
  577. Fixes bugs:
  578.     - The BJC600 / BJC800 drivers were missing a header file.
  579. (gdevbjc.h, gdevcdj.c)
  580.     - A procedure name was used in two different files.  (gdevcdj.c)
  581.     - The PCX driver didn't return an error code in case of failure.
  582. (gdevpcx.c)
  583.     - The X Windows driver produced some confusing warning messages.
  584. (gdevxini.c)
  585.     - Some names were duplicated between drivers.  (gdevepsc.c)
  586.     - The X driver maintained its own, peculiar initial matrix even if
  587. Ghostview wasn't involved.  (gdevx.c)
  588.  
  589. With the permission of the author, changes the 24-bit TIFF license from GNU
  590. to Aladdin.  (gdevtfnx.c)
  591.  
  592. Platforms
  593. ---------
  594.  
  595. Fixes bugs:
  596.     - The VMS build scripts were out of sync with the makefiles (again).
  597. (modules.lis, vms.mak)
  598.  
  599. Interpreter
  600. -----------
  601.  
  602. Fixes bugs:
  603.     - When the requested media size matched an available size exactly
  604. with a 90 degree rotation, Orientation was ignored.  (zmedia2.c)
  605.  
  606. Makes zcurrentdevice extern.  (opextern.h, zdevice.c)
  607.  
  608. Library
  609. -------
  610.  
  611. Fixes bugs:
  612.     - A couple of places used memcpy instead of memmove.  (gxclread.c)
  613.     - If a bitmap image was compressed with RLE compression in a band
  614. list, it would cause an error on decompression.  (gxclread.c)
  615.     - The representation of colors in the band list was needlessly
  616. inefficient.  (gxcldev.h, gxclist.c, gxclread.c)
  617.     - When using colored halftones, snowflak.ps crashed with an invalid
  618. memory access.  More generally, any use of halftones could cause the garbage
  619. collector to make an invalid access.  (gsstate.c)
  620.  
  621. Adds some more code for paths in band lists, but again doesn't activate it.
  622. (gxcldev.h, gxpath.h, gzline.h, gsline.c, gspath1.c, gxclist.c, gxclread.c,
  623. gxpath.c)
  624.  
  625. Version 3.48(limited) (9/17/95)
  626. =====================
  627.  
  628. This is the second bug-fix release during beta test.  Among other things, it
  629. fixes a bug introduced in 3.47 that caused all PDF files to give an error.
  630. ******NOTE: the BJC600 and BCJ800 drivers do not work in this release,
  631. because we didn't get a file from the author in time.  They will compile,
  632. but not run.  This will be fixed in the next round.
  633.  
  634. Documentation
  635. -------------
  636.     
  637. Fixes bugs:
  638.     - Alan Barclay's contact information was wrong.  (readme)
  639.  
  640. Procedures
  641. ----------
  642.  
  643. Fixes bugs:
  644.     - The linker path for Watcom C++ 10.5 was wrong.  (wccommon.mak)
  645.     - There was a syntax error in a batch file.  (pdf2ps.bat)
  646.     - The VMS build script didn't have entries for some printers.
  647. (vms.mak)
  648.  
  649. Adds the bjc600 and bjc800 devices on all platforms that already include the
  650. color DeskJet devices.  (*.mak)
  651.  
  652. Drivers
  653. -------
  654.  
  655. Fixes bugs:
  656.     - The H-P drivers didn't reposition the cursor properly at the
  657. beginning of pages after the first page, causing the image to be shifted
  658. down slightly and cut off at the bottom.  (gdevdjet.c)
  659.     - The x11alpha driver was extremely slow.  (gdevxalt.c)
  660.     - The -g switch by itself didn't work for the X Windows driver.
  661. (gdevxini.c)
  662.     - .installpagedevice can get a rangecheck on MS Windows because the
  663. HWColorMap can change spontaneously.  (gs_setpd.ps)
  664.  
  665. Updates the bjc600 and bjc800 drivers with new versions from Yves Arrouye.
  666. (gdevcdj.c)
  667.  
  668. Adds a user-contributed driver that writes uncompressed 24-bit RGB TIFF
  669. images in a format that is standard on NeXT platforms.  This driver is
  670. governed by the GNU license and is therefore separated from the rest of the
  671. Aladdin distribution.  (gdevtfnx.c)
  672.  
  673. Platforms
  674. ---------
  675.  
  676. Fixes bugs:
  677.     - There was an undefined reference to clock_gettime on some Unix
  678. systems.  (gp_unix.c)
  679.     - The new gp_fopen routine had several errors.  (gp_vms.c)
  680.  
  681. Interpreter
  682. -----------
  683.  
  684. Fixes bugs:
  685.     - Some routines that should be main-instance-specific weren't.
  686. (imain.h, main.h, gsmain.c)
  687.     - sethalftone with a Type 2 or Type 4 halftone didn't work on CMYK
  688. devices.  (zht2.c)
  689.     - Setting A4 paper as the default in gs_init.ps, or specifying
  690. -dPAPERSIZE, conflicted with -g.  (gs_init.ps)
  691.     - The maximum value of a single-precision float wasn't correct on
  692. VAX systems.  (math_.h, iscannum.c)
  693.     - Some integer expressions were passed as floating point arguments.
  694. (gs.c, zmedia2.c)
  695.     - Media selection in setpagedevice was broken (again), as of 3.46.
  696. (gs_setpd.ps, zmedia2.c)
  697.  
  698. Interpreter (PDF)
  699. -----------------
  700.  
  701. Fixes bugs:
  702.     - Substituted color spaces caused an error.  (gs_pdf.ps,
  703. pdf_draw.ps)
  704.  
  705. Library
  706. -------
  707.  
  708. Fixes bugs:
  709.     - If a halftone had no non-default components that matched the
  710. device's primary colors, the result would be a solid color rather than a
  711. halftone using the default screen.  (gsht.c)
  712.     - sethalftone with a Type 2 or Type 4 halftone didn't work on CMYK
  713. devices.  (gxht.h, gsht.c, gsht1.c)
  714.     - The new gp_fopen routine wasn't being used.  (gsiodev.c)
  715.     - A mixing of float and fixed values caused a clipping region to be
  716. possibly incorrect by up to 1 pixel.  (gspaint.c)
  717.     - A function definition was inconsistent with the prototype.
  718. (gspath1.c)
  719.  
  720. Adds preliminary code for including paths in band lists, but doesn't
  721. activate any of it.  (lib.mak, gxcldev.h, gxclist.c, gxclread.c)
  722.  
  723. Version 3.47(limited) (9/14/95)
  724. =====================
  725.  
  726. This is a bug-fix release during beta test.  It is meant to have no new
  727. functionality, although in the case of setpagedevice that's stretching
  728. things a little.
  729.  
  730. Documentation
  731. -------------
  732.  
  733. Fixes bugs:
  734.     - The Mac documentation still referred to IJG JPEG v5a rather than
  735. v6.  (make.doc)
  736.     - The RasterOp texture device was identified incorrectly.
  737. (gdevmrop.c)
  738.     - use.doc and psfiles.doc didn't mention the PDF-related files.
  739. (psfiles.doc, use.doc)
  740.     - psview is no longer available.  (README)
  741.     - current.doc didn't document the recognized setpagedevice keys.
  742. (current.doc)
  743.  
  744. Procedures
  745. ----------
  746.  
  747. Fixes bugs:
  748.     - Many utility programs weren't included in the Unix 'install' list.
  749. (unix-end.mak)
  750.     - It wasn't at all convenient to make configurations without the BCP
  751. or other non-standard filters.  (*.mak, int.mak, modules.lis, zfilter2.c,
  752. zfilterx.c)
  753.     - The gconfig.c and iconfig.c files weren't deleted after
  754. compilation.  (int.mak, lib.mak)
  755.     - unix-end.mak referred to the nonexistent macros INT{1,2}_MAK.
  756. (unix-end.mak)
  757.     - The rules for building the dfax drivers were incorrect.  (devs.mak)
  758.     - Omitting filter.dev produced an undefined reference.  (int.mak)
  759.  
  760. Adds a customer-contributed makefile for Microsoft Visual C++ 2.n under
  761. Windows NT.  (msvcwint.mak)
  762.  
  763. Utilities
  764. ---------
  765.  
  766. Fixes bugs:
  767.     - The JPEG utility didn't support the new progressive JPEG modes,
  768. and didn't invert Adobe Photoshop output as needed.  (viewjpeg.ps)
  769.     - The printafm utility had a single font name wired in.  (printafm,
  770. printafm.ps)
  771.     - The CIE lookup simulation had several bugs.  (docie.ps)
  772.     - pdf2ps[.bat] were missing from the fileset.
  773.     - Files produced by pdf_2ps didn't include the GS_PDF ProcSet.
  774. (gs_pdf.ps, pdf_2ps.ps, pdf_base.ps, pdf_main.ps)
  775.  
  776. Drivers
  777. -------
  778.  
  779. Fixes bugs:
  780.     - Bits read back from an EGA or VGA device were incorrect.
  781. (gdevpcfb.c)
  782.     - The 24-bit PCX run length compressor used a slow algorithm.
  783. (gdevpcx.c)
  784.     - gdevstc.c wouldn't compile with the Borland compiler.  (gdevstc.c)
  785.     - There was a typo in the OS/2 PM driver.  (gdevpm.c)
  786.     - .installpagedevice gets a rangecheck on X Windows because the
  787. HWColorMap can change spontaneously.  (gs_setpd.ps)
  788.     - The left margin for the DeskJet 500 was wrong.  (gdevdjet.c)
  789.     - The two notions of "margin" (offset of 0,0 from physical page
  790. corner vs. unprintable area around edges of physical page) were still
  791. confused.  We've now fixed this for the H-P monochrome printers, but it's
  792. probably still confused for all other printers.  (gdevprn.h, gdevdjet.c)
  793.  
  794. Platforms
  795. ---------
  796.  
  797. Fixes bugs:
  798.     - The Windows print spooler header file wasn't included when it
  799. needed to be, and some other Win32-specific changes were missing.
  800. (gsdll32.def, gp_mswin.c)
  801.     - Windows DLLs didn't parse "s in the command "arguments" correctly.
  802. (gsdll.c)
  803.  
  804. Fonts
  805. -----
  806.  
  807. Fixes bugs:
  808.     - FAKEFONTS could get the font directories into inconsistent states.
  809. (gs_dps1.ps, gs_fonts.ps)
  810.     - The substitutions for Adobe's Myriad and Minion fonts weren't
  811. appropriate.  (gs_fonts.ps)
  812.  
  813. Interpreter
  814. -----------
  815.  
  816. Fixes bugs:
  817.     - If pathforall got an error computing the user-space points on a
  818. path, it could cause an invalid access.  (zpath1.c)
  819.     - A 'private' declaration were omitted.  (Why doesn't gcc catch
  820. this??)  (zcie.c)
  821.     - Setting GS_FONTPATH produced a stackunderflow error.
  822. (gs_fonts.ps)
  823.     - currentscreen caused a typecheck if the screen had been set by
  824. setcolorscreen.  (gs_dps1.ps)
  825.     - setcolorrendering tried to cache values computed from the color
  826. space even if the current color space wasn't a CIE space.  (zcrd.c)
  827.     - Out-of-range numbers like 10E38 caused a floating point exception.
  828. (iscannum.c)
  829.     - Giving a closed readable file as input for a filter caused an
  830. invalidaccess.  (files.h, interp.c, zfilter.c)
  831.     - setpagedevice opened the default device even with -dNODISPLAY.
  832. (gs_init.ps, gs_setpd.ps)
  833.     - realtime returned the same value as usertime.  (gs_lev2.ps,
  834. zmisc.c)
  835.     - Storing a local value into systemdict caused some redundant code
  836. to be executed.  (zdict.c)
  837.     - Files with a very long first line could cause a rangecheck error.
  838. (gs_init.ps)
  839.     - The PageOffset page device parameter was ignored.  (gs_setpd.ps)
  840.     - The Orientation page device parameter wasn't handled properly.
  841. (gs_setpd.ps, idparam.h, idparam.c, zmedia2.c)
  842.     - setpagedevice could set device parameters twice, with an
  843. incomplete update the first time.  (gs_setpd.ps)
  844.  
  845. Interpreter (PDF)
  846. -----------------
  847.  
  848. Fixes bugs:
  849.     - Readers confused the internal pdfrun procedure with the public
  850. runpdf procedure.  (pdf_*.ps)
  851.  
  852. Streams
  853. -------
  854.  
  855. Fixes bugs:
  856.     - Closed streams had a NULL state pointer, causing problems for some
  857. clients.  (stream.c)
  858.     - Group 4 decoding could get an ioerror if an end-of-buffer occurred
  859. in a horizontal code sequence between a makeup code and the termination
  860. code.  (scfd.c)
  861.  
  862. Library
  863. -------
  864.  
  865. Fixes bugs:
  866.     - Some 'private' declarations were omitted.  (Why doesn't gcc catch
  867. these??)  (gdevmrop.c, gxht.c)
  868.     - Patterns could produce bad output in the band list.  (gxclist.c)
  869.     - RasterOp wasn't implemented at all for 2- or 4-bit devices.  (In
  870. this release, we implement only a subset, and without handling transparency
  871. properly.)  (gdevm2.c, gdevm4.c, gdevmrop.c)
  872.     - Drawing operations and text sometimes didn't apply the RasterOp
  873. when they should, and vice versa.  (gxdcolor.h, gxdraw.c)
  874.     - setcolorrendering tried to cache values computed from the color
  875. space even if the current color space wasn't a CIE space.  (gscie.h,
  876. gscie.c)
  877.     - Some CIE color spaces produced very distorted colors.  (gscie.c)
  878.     - setpagedevice opened a window even with -dNODISPLAY.  (gsdevice.c,
  879. gsdparam.c)
  880.     - realtime returned the same value as usertime.  (gp.h, time_.h,
  881. gp_*.c)
  882.     - The library level attempted to handle the Orientation page device
  883. parameter.  (gxdevice.h, gdevbit.c, gsdevice.c, gsdparam.c, gspath.c)
  884.     - Severely non-linear CIE encoding/decoding functions produced
  885. seriously skewed colors near the ends of the color value range.  This
  886. problem can now be alleviated, at a significant cost in performance, by
  887. changing configuration parameters at the beginning of gscie.h.  (gscie.h,
  888. gscie.c)
  889.     - Files FTP'ed in binary mode weren't being opened properly on VMS.
  890. (gp.h, gp_*.c, gsiodev.c)
  891.     - A header file had an inconsistent declaration.  (math_.h)
  892.  
  893. Adds a new gp_get_usertime procedure to gp.h.  THIS IS A
  894. NON-BACKWARD-COMPATIBLE CHANGE, affecting only platform implementors.  It
  895. was necessary to fix the realtime/usertime bug.  (gp.h, time_.h, gp_*.c)
  896.  
  897. Adds a new gp_fopen procedure to gp.h.  THIS IS A NON-BACKWARD-COMPATIBLE
  898. CHANGE, affecting only platform implementors.  It was necessary to fix the
  899. binary file problem on VMS.  (gp.h, gp_*.c)
  900.  
  901. Version 3.46(limited) (9/4/95)
  902. =====================
  903.  
  904. This is the "serious beta test" release for the next public release.  It
  905. finishes implementing RasterOp in the graphics state, and the remaining
  906. commonly used parts of setpagedevice.
  907.  
  908. Documentation
  909. -------------
  910.  
  911. Documents some possible problems when building with DJGPP v2.0-beta.
  912. (make.doc)
  913.  
  914. Adds documentation on using Ghostscript as a PDF interpreter.  (use.doc)
  915.  
  916. Notes linking problems with the Watcom 10.0 environment.  (make.doc)
  917.  
  918. Procedures
  919. ----------
  920.  
  921. Fixes bugs:
  922.     - The rule for $(ccfonts).dev was wrong.  (gs.mak)
  923.  
  924. Makes some additional filters into 'features'.  (devs.mak, gs.mak)
  925.  
  926. Splits off 2 new makefiles from gs.mak, which had gotten very large: lib.mak
  927. (graphics library) and int.mak (interpreters).  (tar_cat, tar_cat.bat,
  928. *.mak)
  929.  
  930. Adds a new 'config-clean' target that may be helpful in changing
  931. configuration definitions.  (gs.mak)
  932.  
  933. Notes in the relevant makefiles that on Unix and DVX systems, one should not
  934. edit 'makefile' or the concatenated makefile, but should edit the individual
  935. subfile and run tar_cat.  (ansihead.mak, cc-head.mak, dgc-head.mak,
  936. gcc-head.mak, devs.mak)
  937.  
  938. Updates the Watcom makefiles to handle Watcom release 10.5, in which many
  939. executables moved to different directories.  (watc.mak, watcwin.mak,
  940. wccommon.mak)
  941.  
  942. Adds a pdf2ps shell script.  (pdf2ps, pdf2ps.bat)
  943.  
  944. Adds a -sFONTMAP= switch to specify the name of the Fontmap file.
  945. (gs_fonts.ps)
  946.  
  947. Adds a -u<name> switch to undefine a name from systemdict.  (interp.h, gs.c,
  948. iinit.c)
  949.  
  950. Adds a -dFIXEDRESOLUTION switch to parallel -dFIXEDMEDIA.  Makes -g set
  951. FIXEDMEDIA and -r set FIXEDRESOLUTION.  (gs_init.ps, gs_setpd.ps, gs.c)
  952.  
  953. Changes some build procedures to avoid problems with read-only source files.
  954. (gs.mak, int.mak, lib.mak)
  955.  
  956. Utilities
  957. ---------
  958.  
  959. Adds a utility for emulating the CIE color mapping algorithms.  (docie.ps)
  960.  
  961. Drivers
  962. -------
  963.  
  964. Changes the x11alpha device so that it uses 32-bit pixels with 8 bits of
  965. alpha.  (gdevxalt.c)
  966.  
  967. Updates the Epson Stylus Color driver to Gunther Hess's release 1.17.
  968. (devs.mak, unix-end.mak, devices.doc, stcolor.ps, gdevstc.h, gdevstc*.c)
  969.  
  970. Updates the alternate X drivers for the change from PageSize to MediaSize.
  971. (gdevxalt.c)
  972.  
  973. Makes Duplex an optional parameter of printer devices rather than of all
  974. devices.  (gdevprn.h, gxdevice.h, gsdparam.c, gdevdjet.c, gdevprn.c)
  975.  
  976. Platforms
  977. ---------
  978.  
  979. Makes pipes (%pipe% file syntax) a selectable option on Unix platforms,
  980. rather than always being included.  (ansihead.mak, cc-head.mak,
  981. gcc-head.mak, ugcclib.mak, unixtail.mak)
  982.  
  983. Interpreter
  984. -----------
  985.  
  986. Fixes bugs:
  987.     - colorimage, and the dictionary form of image with
  988. MultipleDataSources = true, didn't check that all the data sources were of
  989. the same type.  (zpaint.c)
  990.     - colorimage, and dictionary-type images with MultipleDataSources =
  991. true, usually didn't work properly with files.  (zpaint.c)
  992.     - grestoreall left a dangling pointer to the transfer function
  993. cache.  (gsstate.c)
  994.     - Changes made by setpagedevice could get 'lost' and not installed
  995. in the current page device dictionary.  (gs_setpd.ps)
  996.     - The Install procedure was called before the new page device
  997. dictionary had gotten installed.  (gs_setpd.ps)
  998.     - If a grestore/grestoreall/restore/setgstate operation switched
  999. page devices, the new page device didn't get installed properly.
  1000. (gs_setpd.ps, opextern.h, zdevice2.c, zdps1.c)
  1001.     - If the current screen was a Type 1 halftone, currentscreen and
  1002. currentcolorscreen returned frequency = 60, angle = 0 rather than the
  1003. Frequency and Angle from the halftone (see Adobe TN 5085).  (gs_dps1.ps,
  1004. gs_init.ps)
  1005.     - setscreen with a Type 1 halftone dictionary didn't insert the
  1006. frequency and angle into the dictionary (see Adobe TN 5085).  (gs_dps1.ps)
  1007.     - upath didn't include a trailing moveto in the bounding box.
  1008. (gs_dps1.ps, zpath1.c)
  1009.     - setpagedevice didn't automatically rotate or scale the image when
  1010. necessary.  (gs_setpd.ps, zmedia2.c)
  1011.  
  1012. Moves the RasterOp operators to a separate file.  (iutil.h, iutil.c,
  1013. zgstate.c, zrop.c)
  1014.  
  1015. Eliminates the unnecessary "wrapper" around .setdevice.  (zdevice2.c)
  1016.  
  1017. Establishes the convention that all interpreter callbacks into PostScript
  1018. code use procedure names that begin with %; documents this in gs_init.ps.
  1019. Changes Type1BuildChar and Type1BuildGlyph to %Type1BuildChar and
  1020. %Type1BuildGlyph.  (gs_init.ps, gs_type1.ps, zfont0.c, zfont1.c)
  1021.  
  1022. Changes image / imagemask / colorimage for the new library API.  (zimage2.c,
  1023. zpaint.c)
  1024.  
  1025. Reorganizes font loading to make compiled fonts and Fontmap interact better
  1026. with each other.  (gs_ccfnt.ps, gs_fonts.ps, gs_init.ps, gs_res.ps)
  1027.  
  1028. Implements parameter collection for the new CIEBasedDEF[G] color spaces, but
  1029. doesn't actually implement the color spaces themselves.  (icie.h, zcie.c,
  1030. zcrd.c)
  1031.  
  1032. Renames iconfig.c as iconf.c to avoid problems with read-only source files.
  1033. (iconf.c)
  1034.  
  1035. Interpreter (PDF)
  1036. -----------------
  1037.  
  1038. Fixes bugs:
  1039.     - PDF to PostScript conversion didn't work.  (pdf_main.ps)
  1040.  
  1041. Shifts most of the work in the PDF interpreter from the reader to the
  1042. ProcSet.  This simplifies the code considerably and also makes it easier to
  1043. modify.  (gs_pdf.ps, pdf_draw.ps, pdf_font.ps, pdf_main.ps)
  1044.  
  1045. Library
  1046. -------
  1047.  
  1048. Fixes bugs:
  1049.     - 'static' was omitted in a place that some compilers require it.
  1050. (gxccman.c)
  1051.     - Some compilers don't allow a variable with the same name as a
  1052. preprocessor macro with arguments.  (gscie.c)
  1053.     - Some places did a "return -1" rather than a proper error return.
  1054. (gsdevice.c, gxclist.c)
  1055.     - An external declaration had a typo.  (gsrop.h)
  1056.     - An extra semicolon upset some compilers.  (gzpath.h)
  1057.     - Printer devices that didn't use the standard macros for generating
  1058. their procedure vector wound up being considered as non-page devices.
  1059. (gdevprn.c)
  1060.     - Some compilers truncated identifiers longer than 31 characters.
  1061. (gscspace.h, zcie.c, gscie.c)
  1062.     - upath didn't include a trailing moveto in the bounding box.
  1063. (gspath.h, gspath1.c)
  1064.     - RasterOp value 126 returned an incorrect result.  (gsroptab.c)
  1065.  
  1066. Finishes implementing RasterOp in the graphics state.  (gdevmrop.h, gsrop.h,
  1067. gsropt.h, gsstate.h, gxbitmap.h, gxcindex.h, gxdcolor.h, gxdevice.h,
  1068. gzstate.h, gdevmrop.c, gscolor.c, gsdevice.c, gsimage.c, gsimage1.c,
  1069. gsimage2.c, gsimage3.c, gspcolor.c, gsrop.c, gsstate.c, gxacpath.c,
  1070. gxccache.c, gxcht.c, gxcmap.c, gxdither.c, gxdraw.c, gxht.c)
  1071.  
  1072. Changes forwarding devices so they forward get_bits by default.  This
  1073. probably doesn't affect any existing code.  (gxdevice.h, gsdevice.c)
  1074.  
  1075. Changes the API for gs_image[mask]_init to pass a structure rather than a
  1076. very large number of scalars.  THIS IS A NON-BACKWARD-COMPATIBLE CHANGE,
  1077. motivated by the addition of further image parameters to support RasterOp.
  1078. Since there are no external clients of the library yet, it shouldn't matter.
  1079. (gsimage.h, gsimage.c, gslib.c, gxccache.c)
  1080.  
  1081. Redefines the device "page size" as being the size of the actual media,
  1082. changing the name of the gx_device PageSize member to MediaSize, the name of
  1083. the PageSize device parameter to .MediaSize (but keeping PageSize as
  1084. equivalent, for backward compatibility), and the name of the
  1085. gx_device_set_page_size procedure to gx_device_set_media_size (keeping the
  1086. old name as a macro).  THIS IS A NON-BACKWARD-COMPATIBLE CHANGE.  It is
  1087. necessary to make setpagedevice work, and to avoid confusion about what
  1088. "page size" means.  It potentially affects any device driver, but almost
  1089. none of the device drivers distributed with Ghostscript are affected, and
  1090. those have been updated.  (gsparam.h, gxdevice.h, gsdevice.c, gsdparam.c,
  1091. gspath.c)
  1092.  
  1093. Renames gconfig.c as gconf.c to avoid problems with read-only source files.
  1094. (gconf.c)
  1095.  
  1096. Adds an API procedure for setting a bitmap pattern.  (gscolor2.h,
  1097. gspcolor.c)
  1098.  
  1099. Version 3.45(limited) (8/27/95)
  1100. =====================
  1101.  
  1102. The purpose of this release is to fix some minor bugs reported by commercial
  1103. licensees, and to add two enhancements: optional RenderTable interpolation
  1104. for CIE color, and reducing the temporary space used during character
  1105. caching (also for a licensee).
  1106.  
  1107. Documentation
  1108. -------------
  1109.  
  1110. Notes that the only valid return values from get_alpha_bits are 1, 2, and 4.
  1111. (drivers.doc)
  1112.  
  1113. Notes that the get_bits driver procedure will return a pointer to aligned
  1114. data, but does not require the caller's data area to be aligned.
  1115. (drivers.doc)
  1116.  
  1117. Procedures
  1118. ----------
  1119.  
  1120. Fixes bugs:
  1121.     - Many of the printer and file output drivers in devs.mak still
  1122. included gdevprn.$(OBJ) in their dependencies.  (devs.mak)
  1123.     - PDEVH was used before it was defined.  (devs.mak)
  1124.     - GENCONF_XE was used before it was defined.  (unixhead.mak,
  1125. unix-end.mak)
  1126.  
  1127. Makes it possible to switch sfile implementations without editing gs.mak.
  1128. (gs.mak)
  1129.  
  1130. Makes it possible to specify alternate compiled font tables without editing
  1131. gs.mak.  (gs.mak)
  1132.  
  1133. Allows quoted arguments in @-files, e.g.,
  1134.     -sOutputFile="a file name with spaces"
  1135. (gs.c)
  1136.  
  1137. Utilities
  1138. ---------
  1139.  
  1140. Fixes bugs:
  1141.     - The ps2ascii script could fail to delete temporary files in case
  1142. of an abnormal exit.  (ps2ascii)
  1143.  
  1144. Drivers
  1145. -------
  1146.  
  1147. Fixes bugs:
  1148.     - The MS Windows printer capability test was wrong.  (gdevwpr2.c)
  1149.     - The MS Windows and OS/2/PM displays weren't page devices.
  1150. (gdevwdib.c, gdevpm.c)
  1151.  
  1152. Gets rid of all direct references to dev->PageSize in drivers.  (gdevl256.c,
  1153. gdevvglb.c)
  1154.  
  1155. Platforms
  1156. ---------
  1157.  
  1158. Fixes bugs:
  1159.     - The 32-bit MS Windows configuration file for the Borland C++
  1160. compiler was missing from the fileset.  (bcc32.cfg, tar_gs)
  1161.  
  1162. Makes the printer devices in the OS/2 implementation capable of outputting
  1163. directly to the print spooler.  (use.doc, gp_os2.c)
  1164.  
  1165. Makes printing on Windows NT and Windows 95 use the printer queue.
  1166. (gp_mswin.c, gswin32.rc)
  1167.  
  1168. Interpreter
  1169. -----------
  1170.  
  1171. Fixes bugs:
  1172.     - Copying a null device produced an uninitialized pointer.
  1173. (gsdevice.c)
  1174.     - The dictionary returned by deviceinfo wasn't read-only.
  1175. (gs_lev2.ps)
  1176.     - If a filter's init code failed, an entry on the operand stack
  1177. (usually the top) could be smashed.  (files.h, zfile.c, zfilter.c)
  1178.  
  1179. Adds const in a few places that needed it.  (zwppm.c)
  1180.  
  1181. Adds interpolation to the CIE RenderTable lookup.  (icie.h, zcie.c, zcrd.c)
  1182.  
  1183. Interpreter (PDF)
  1184. -----------------
  1185.  
  1186. Allows PDF files with control-character garbage at the end, and up to 250
  1187. characters of garbage at the beginning.  The latter is only supported by
  1188. runpdf, not by run.  (pdf_base.ps, pdf_main.ps)
  1189.  
  1190. Streams
  1191. -------
  1192.  
  1193. Fixes bugs:
  1194.     - A 1-D CCITTFaxDecode stream could give an error if an input buffer
  1195. boundary fell just before a 0-length termination code.  (scfx.h, scfd.c)
  1196.  
  1197. Library
  1198. -------
  1199.  
  1200. Fixes bugs:
  1201.     - A variable was used before being set, which could cause band
  1202. devices to become confused when processing colored halftones.  (gxclist.c)
  1203.     - Some of the color and tile bookkeeping for band lists was wrong
  1204. (as of 3.44), causing tiled areas to be filled with garbage.  (gxclist.c,
  1205. gxclread.c)
  1206.     - Colored Patterns showed up blank on devices whose native
  1207. representation of `black' was a non-zero value.  The fix removes the
  1208. 'cached' member of the gx_device structure, and requires monobit memory
  1209. devices to have a palette; this is a NON-BACKWARD-COMPATIBLE CHANGE for
  1210. anyone who was foolish enough to statically initialize a gx_device structure
  1211. without using the macros in gxdevice.h or gdevprn.h.  (gdevmem.h,
  1212. gxdevice.h, gxdevmem.h, gdevm1.c, gdevmrop.c, gsdevice.c, gxcpath.c,
  1213. gxdither.c)
  1214.  
  1215. Provides the framework for band devices to implement alpha (anti-aliasing).
  1216. (gxcldev.h, gdevprn.c, gsdevice.c, gxclist.c, gxclread.c)
  1217.  
  1218. Implements an efficient API for enumerating paths using device coordinates.
  1219. (gspath.h, gxpath.h, gzpath.h, gspath1.c, gxpath2.c)
  1220.  
  1221. Changes the character cache logic so that when rasterizing large
  1222. anti-aliased characters, it converts the oversampled bits to alpha values on
  1223. the fly rather than waiting until it has rasterized the entire character.
  1224. This saves a lot of temporary space, at the expense of some extra time and
  1225. lower quality results for Type 3 characters that don't use a single fill or
  1226. imagemask operation to draw the character.  This enhancement requires adding
  1227. a member to the gx_device structure (max_fill_band), which is a
  1228. NON-BACKWARD-COMPATIBLE CHANGE for badly written drivers (see above).
  1229. (gxchar.h, gxdevice.h, gxpaint.h, gdevabuf.c, gschar.c, gspaint.c,
  1230. gxccache.c, gxccman.c, gxfill.c)
  1231.  
  1232. Changes the palette member of memory devices from gs_string to
  1233. gs_const_string.  (gdevmem.h, gxdevmem.h, gdevmem.c, gdevm1.c)
  1234.  
  1235. Starts to decouple halftoning from the graphics state machinery, so
  1236. it can be applied after banding rather than before.  (gxdcolor.h,
  1237. gxdht.h, gxdither.h, gzht.h, gxcmap.c, gxdither.c, gxdraw.c)
  1238.  
  1239. Starts to decouple path filling from the graphics state machinery, so
  1240. that we can pass paths through band lists.  (gxpaint.h, gxfill.c)
  1241.  
  1242. Adds interpolation to the CIE RenderTable lookup.  This is optional, enabled
  1243. by #define CIE_RENDER_TABLE_INTERPOLATE in gscie.h.  (gscie.h, gxctable.h,
  1244. gscie.c, gxctable.c)
  1245.  
  1246. Version 3.44(limited) (8/21/95)
  1247. =====================
  1248.  
  1249. This includes a few bug fixes, but its main purpose is to add two new
  1250. features: monobit and 8-bit gray-scale RasterOp (at the driver level, not at
  1251. the gstate level yet), and (compressed) band lists in RAM.  Of course, these
  1252. new features may have introduced new bugs!
  1253.  
  1254. Documentation
  1255. -------------
  1256.  
  1257. Adds contact information for a user working on NeXT machines.  (README)
  1258.  
  1259. Notes that Ghostscript runs on FreeBSD.  (README)
  1260.  
  1261. Adds copy_rop (the RasterOp operation) to the driver interface.
  1262. (drivers.doc)
  1263.  
  1264. Adds FONTPATH information for more operating systems.  (use.doc)
  1265.  
  1266. Procedures
  1267. ----------
  1268.  
  1269. Fixes bugs:
  1270.     - The tar_cat script needed a #!/bin/sh to execute correctly on all
  1271. platforms.  (tar_cat)
  1272.     - There were a number of minor errors in the makefiles.  (gs.mak,
  1273. unixhead.mak)
  1274.     - Level 2 configurations without command lists had two undefined
  1275. references.  (gs.mak)
  1276.     - Some shells required an extra ';' to terminate an 'if' command.
  1277. (ugcclib.mak, unix-end.mak, unixtail.mak)
  1278.  
  1279. Updates the JPEG code to the officially released version 6 of the IJG
  1280. library.  See jpeg.mak for information on where to find this library.
  1281. (jpeg/*, jpeg.mak, *.mak, modules.lis)
  1282.  
  1283. Adds a definition of XEAUX to the makefiles to parallel CCAUX, primarily for
  1284. cross-compilation environments.  All references to <some-program>$(XE) must
  1285. be replaced by $(<SOME-PROGRAM>_XE), where some-program={$(GS), ansi2knr,
  1286. echogs, genarch, genconf, geninit}.  This is a NON-BACKWARD-COMPATIBLE
  1287. CHANGE, required in order for the makefiles to work in cross-compiled
  1288. environments.  (For non-cross-compiled environments, it currently doesn't
  1289. matter.)  (gs.mak, *.mak)
  1290.  
  1291. Utilities
  1292. ---------
  1293.  
  1294. Updates ps2ai.ps to version 2.13.  (ps2ai.ps)
  1295.  
  1296. Changes all the utility shell scripts to include #!/bin/sh, to use exec, and
  1297. to pass the original arguments using "$@".  (bdftops, font2c, gsbj, gsdj,
  1298. gslj, gslp, gsnd, wftopfa)
  1299.  
  1300. Drivers
  1301. -------
  1302.  
  1303. Adds the requirement that all page-oriented devices (i.e., those that use
  1304. gdevprn.h and implement the print_page procedure) include page.dev in their
  1305. dependencies and use $(SETPDEV) rather than $(SETDEV) in their makefile rule
  1306. bodies.  THIS IS A NON-BACKWARD-COMPATIBLE CHANGE.  Without this change, the
  1307. command list logic (over 25K of unnecessary object code) would have to be
  1308. included in every configuration.  (gs.mak, devs.mak, echogs.c)
  1309.  
  1310. Adds a user-contributed driver for the Okidata Microline (IBM compatible)
  1311. dot matrix printers.  (gdevokii.c)
  1312.  
  1313. Adds copy_rop (the RasterOp operation) to the driver interface.  Currently,
  1314. only monobit and 8-bit gray-scale devices implement it.  (gxdevice.h,
  1315. gsdevice.c)
  1316.  
  1317. Adds the ability to read back bits from the display to the x11 devices.
  1318. (x_.h, gdevx.c, gdevxalt.c)
  1319.  
  1320. Platforms
  1321. ---------
  1322.  
  1323. Makes some minor changes to support QNX.  (stat_.h)
  1324.  
  1325. Removes the mswinprn driver from the 16-bit Windows configuration, because
  1326. the 64K default data segment overflowed.  (bcwin.mak)
  1327.  
  1328. Interpreter
  1329. -----------
  1330.  
  1331. Fixes bugs:
  1332.     - Type 1 fonts didn't accept packed arrays for Subrs or OtherSubrs.
  1333. (zchar1.c, zfont1.c)
  1334.     - TBCP-encoded files (yes, I know there isn't supposed to be any
  1335. such thing) didn't automatically activate TBCP decoding.  (gs_init.ps)
  1336.     - Fonts with invalid FID entries weren't detected.  (zfont.c)
  1337.  
  1338. Speeds up dictionary operations slightly by removing redundant checks for
  1339. nulls.  (zdict.c)
  1340.  
  1341. Starts adding support for the new CIEBasedDEF and CIEBasedDEFG color spaces.
  1342. (gs_l2img.ps, gs_lev2.ps, igstate.h, zcrd.c)
  1343.  
  1344. Adds access operators for RasterOp and transparency in the graphics state.
  1345. (They don't actually do anything yet.)  (zgstate.c)
  1346.  
  1347. Interpreter (PDF)
  1348. -----------------
  1349.  
  1350. Fixes bugs:
  1351.     - PDFDocEncoding was missing characters 24-31.  (gs_pdf_e.ps)
  1352.  
  1353. Moves the definition of pdfmark from systemdict to userdict so that Adobe
  1354. PostScript files won't think the interpreter is a distiller.  (gs_pdf.ps)
  1355.  
  1356. Library
  1357. -------
  1358.  
  1359. Fixes bugs:
  1360.     - Some JPEG images had bands of garbage alternating with bands of
  1361. valid data.  IJG v6 fixed this -- see above.
  1362.     - With FPU_TYPE = -1, the cosine routine returned incorrect values
  1363. for angles above 270 degrees.  (gsmisc.c)
  1364.     - CIE color conversion didn't work on 16-bit systems.  (gscie.h,
  1365. gscie.c)
  1366.  
  1367. Partially implements reducing the intermediate space for rasterizing
  1368. anti-aliased characters by compressing the oversampled representation to an
  1369. alpha array incrementally.  (gdevmem.h, gxchar.h, gxdevmem.h, gdevabuf.c,
  1370. gschar.c, gspaint.c, gxccman.c)
  1371.  
  1372. Starts adding support for the new CIEBasedDEF and CIEBasedDEFG color spaces.
  1373. (gscie.h, gscspace.h, gscie.c)
  1374.  
  1375. Completes the implementation of band lists in RAM.  To select this feature,
  1376. change the definition of cl_impl in gs.mak from clfile to clmem.  (Someday
  1377. we'll make this easier.)  (gxclmem.h, gxclmem.c)
  1378.  
  1379. Finishes implementing RasterOp and transparency at the driver level for
  1380. monobit and 8-bit gray-scale devices, and implements some of the framework
  1381. for general multiple-bit-per-pixel devices.  See drivers.doc for
  1382. documentation.  (gsropt.h, gxcldev.h, gxclist.h, gdevm1.c, gdevm8.c,
  1383. gdevmem.c, gdevmrop.c, gschar.c, gxclist.c, gxclread.c)
  1384.  
  1385. Implements the ability to include commands applicable to all bands, rather
  1386. than an individual band, in the band list.  Eventually this will be used for
  1387. passing halftones through the band list.  (gxcldev.h, gxclist.h, gxclist.c)
  1388.  
  1389. Adds support for 2-bit-deep 'word' memory devices.  (gdevmem.h, gxdevmem.c,
  1390. gdevm2.c)
  1391.  
  1392. Changes the initialization for memory devices so that they determine their
  1393. polarity from the device for which they are buffering the image (if any).
  1394. This is a subtle change.  (gdevmem.h, gdevmem.c, gdevm1.c, gsdevmem.c)
  1395.  
  1396. Version 3.43(limited) (8/10/95)
  1397. =====================
  1398.  
  1399. Fixes a few more minor bugs, and changes FEATURE selection back to
  1400. essentially the way it was before 3.41.
  1401.  
  1402. Documentation
  1403. -------------
  1404.  
  1405. Fixes bugs:
  1406.     - A ~ was missing in a URL.  (README)
  1407.  
  1408. Adds information about an Amiga port of Ghostscript.  (README)
  1409.  
  1410. Removes a file called gs.1.c, which appears to be an obsolete version of
  1411. gs.1.
  1412.  
  1413. Adds DCX documentation to the PCX driver.  (We don't support DCX yet, but we
  1414. might in the future.)  (gdevpcx.c)
  1415.  
  1416. Adds information about getting Type 1 fonts from H-P if you have an H-P
  1417. PostScript printer.  (use.doc)
  1418.  
  1419. Procedures
  1420. ----------
  1421.  
  1422. Fixes bugs:
  1423.     - The auxiliary programs wouldn't compile with ANSI compilers that
  1424. don't accept K&R syntax.  (ccgs, gs.mak, ugcclib.mak, *head.mak,
  1425. unixtail.mak, echogs.c, genarch.c, genconf.c, geninit.c)
  1426.  
  1427. Reinstates FEATURE_DEVS in the makefiles, getting rid of FEATURE1..10.  THIS
  1428. IS A NON-BACKWARD-COMPATIBLE CHANGE, but it puts things back the way they
  1429. were before 3.41, with one exception: compiling the PostScript
  1430. initialization code into the executable is now a separate macro
  1431. COMPILE_INITS with a definition of 0 or 1, instead of the ccinit 'feature'.
  1432. (gs.mak, *.mak, fonts.doc, make.doc)
  1433.  
  1434. Adds a CCLEAF macro to the makefiles, for optimizing the compilation of
  1435. modules containing only leaf procedures.  (gs.mak, *.mak)
  1436.  
  1437. Adds a CONFIG makefile variable that helps in maintaining multiple variants
  1438. in a single directory.  (gs.mak, *.mak)
  1439.  
  1440. Platforms
  1441. ---------
  1442.  
  1443. Fixes bugs:
  1444.     - An extern for exit() (in <stdlib.h>) was omitted.  (gp_vms.c)
  1445.  
  1446. Fonts
  1447. -----
  1448.  
  1449. Reorganizes the compiled font facility so that fonts can be compiled and
  1450. turned into a library by third parties.  (gs.mak, font2c.ps, gs_ccfnt.ps,
  1451. ccfont.h, iccfont.c, ccfontab.c)
  1452.  
  1453. Interpreter
  1454. -----------
  1455.  
  1456. Fixes bugs:
  1457.     - internaldict was implemented as a dictionary in systemdict and an
  1458. operator in userdict, rather than as an operator in systemdict.  This caused
  1459. a noaccess error when loading certain Type 1 fonts.  (gs_init.ps,
  1460. gs_type1.ps)
  1461.     - xfonts couldn't handle modified encodings.  (zfont2.c)
  1462.  
  1463. Changes the build date printout in the help message to YYYY-MM-DD.  (gs.c)
  1464.  
  1465. Adds native support for Multiple Master fonts (WeightVector).  (zfont1.c)
  1466.  
  1467. Implements sin and cos more efficiently (by table lookup with linear
  1468. interpolation) on machines with slow (or no) floating point.  (zmath.c)
  1469.  
  1470. Separates out the code for 'reading' the .ps initialization files, for the
  1471. new COMPILE_INITS arrangement.  (imain.h, gconfig.c, gsmain.c, iconfig.c,
  1472. iccinit0.c, iinit.c)
  1473.  
  1474. Streams
  1475. -------
  1476.  
  1477. Fixes bugs:
  1478.     - The CCITTFaxDecode filter could read up to 3 bytes beyond EOD.
  1479. This fix doesn't quite cover all cases, but at least it makes things better.
  1480. (ghc.h, sbhc.c, scfd.c)
  1481.  
  1482. Library
  1483. -------
  1484.  
  1485. Fixes bugs:
  1486.     - After a nocurrentpoint error from a show operation with a
  1487. composite font, the bookkeeping was confused and could cause an access
  1488. error.  (gschar.c)
  1489.     - xfonts couldn't handle modified encodings.  (gsccode.h, gxchar.h,
  1490. gxfont.h, gxxfont.h, gschar.c, gxccache.c)
  1491.  
  1492. Makes .charboxpath able to use cached character information.  (gxchar.h,
  1493. gschar.c)
  1494.  
  1495. Adds native support for Multiple Master fonts (OtherSubrs 14-18).
  1496. (gxfont1.h, gstype1.c)
  1497.  
  1498. Improves the hashing functions for the character cache.  (gxfcache.h,
  1499. gxccman.c)
  1500.  
  1501. Adjusts the character oversampling algorithm to reduce thickening for
  1502. devices with alpha capability.  (gsbitops.c)
  1503.  
  1504. Improves the encoding of the band list for certain kinds of small
  1505. rectangles.  (gxcldev.h, gxclist.c, gxclread.c)
  1506.  
  1507. Implements sin and cos efficiently on machines with slow (or no) floating
  1508. point.  (gxfarith.h, gsmatrix.c, gsmisc.c, gspath1.c)
  1509.  
  1510. Version 3.42(limited) (8/2/95)
  1511. =====================
  1512.  
  1513. Fixes a few significant problems in 3.41, and brings the DLL code up to
  1514. date.
  1515.  
  1516. Documentation
  1517. -------------
  1518.  
  1519. Fixes bugs:
  1520.     - language.doc still referred to rectappend rather than .rectappend.
  1521. (language.doc)
  1522.  
  1523. Adds documentation on the Macintosh port.  (readme, make.doc)
  1524.  
  1525. Updates the DLL documentation.  (dll.doc)
  1526.  
  1527. Documents the BCP and TBCP filters as non-experimental.  (language.doc)
  1528.  
  1529. Procedures
  1530. ----------
  1531.  
  1532. Changes the build date printout to YYYY-MM-DD.  (gs_init.ps)
  1533.  
  1534. Platforms
  1535. ---------
  1536.  
  1537. Fixes bugs:
  1538.     - The VMS build script had gotten out of sync with the makefiles
  1539. (again).  (vms.mak, modules.lis)
  1540.  
  1541. Brings the MS Windows and OS/2 platforms up to date with the rest of the
  1542. code, including DLL support for OS/2.  (os2.mak, gsdll*.def, gdevswn.c,
  1543. gdevpm.c, gdevwdib.c, gp_mswin.c, gp_os2.c, gsdll.c, gsmain.c)
  1544.  
  1545. Adds a new platform-specific routine gp_do_exit, as an alias for the C
  1546. library `exit' call.  (gp.h, gsdll.c, gsmain.c, gp_*.c)
  1547.  
  1548. Interpreter
  1549. -----------
  1550.  
  1551. Fixes bugs:
  1552.     - .forgetsave at the outermost level didn't clear the l_new bit,
  1553. causing changes to be undone improperly.  (isave.c)
  1554.     - A 'void' formal parameter list upset some compilers (as it should
  1555. have).  (gsmain.c)
  1556.  
  1557. Adds a .charboxpath operator that appends to the current path the bounding
  1558. boxes of the characters of a string.  (zchar.c, zchar1.c)
  1559.  
  1560. Streams
  1561. -------
  1562.  
  1563. Fixes bugs:
  1564.     - A procedure was declared private inconsistently.  (siscale.c)
  1565.  
  1566. Library
  1567. -------
  1568.  
  1569. Fixes bugs:
  1570.     - The library test program didn't do a necessary initial gsave.
  1571. (gslib.c)
  1572.     - The fix for landscape monobit images in 3.41 could smash memory.
  1573. (gsimage1.c)
  1574.     - 1-pixel-wide lines drawn with image or imagemask still disappeared
  1575. sometimes.  (gsimage.c)
  1576.  
  1577. Does some more preparatory work for the implementation of command lists in
  1578. RAM.  (gdevprn.h, gxclio.h, gxclist.h, gxclfile.c, gxclist.c, gxclread.c)
  1579.  
  1580. Adds a gs_charboxpath procedure that appends to the current path the
  1581. bounding boxes of the characters of a string.  (gschar.h, gscpm.h,
  1582. gstype1.h, gxchar.h, gxpath.h, gxtype1.h, gzstate.h, gschar.c, gspaint.c,
  1583. gstype1.c, gxpath.c)
  1584.  
  1585. Version 3.41(limited) (7/27/95)
  1586. =====================
  1587.  
  1588. Another incremental release with bug fixes and customer-requested
  1589. enhancements.  This release was intended to include the full setpagedevice
  1590. media matching and adjustment algorithm, but we discovered some
  1591. architectural problems during development, and have postponed it.
  1592.  
  1593. Documentation
  1594. -------------
  1595.  
  1596. Replaces the build instructions for NeXTSTEP with more up-to-date and
  1597. accurate ones.  (make.doc)
  1598.  
  1599. Notes that some extra manual steps are required when cross-compiling.
  1600. (make.doc)
  1601.  
  1602. Documents how to define new 'features' in the makefile.  (gs.mak)
  1603.  
  1604. Procedures
  1605. ----------
  1606.  
  1607. Fixes bugs:
  1608.     - The build rule for ccinit.dev was circular.  Fixing this required
  1609. a small but NON-BACKWARD-COMPATIBLE change in the way that features are
  1610. selected in the makefiles (FEATURE_DEVS replaced by FEATURE1..10).  (*.mak,
  1611. fonts.doc, make.doc)
  1612.  
  1613. Changes the build rule for gconfig.h to be less likely to overrun MS-DOS's
  1614. command line length limit.  (gs.mak)
  1615.  
  1616. Adds a -dFIXEDMEDIA switch to indicate that the media size should be
  1617. considered fixed after initialization.  (gs_init.ps)
  1618.  
  1619. Utilities
  1620. ---------
  1621.  
  1622. Fixes bugs:
  1623.     - traceimg.ps incorrectly referred to .stdout.  (traceimg.ps)
  1624.     - prfont.ps didn't display unencoded characters correctly.
  1625. (prfont.ps)
  1626.     - ps2epsi didn't give correct bounding box information.  (ps2epsi,
  1627. ps2epsi.ps)
  1628.     - ps2epsi produced DSC comments that didn't fully conform to the
  1629. Adobe standard.  (ps2epsi, ps2epsi.ps)
  1630.  
  1631. Allows viewpbm.ps to take multiple files on the command line.  (viewpbm.ps)
  1632.  
  1633. Drivers
  1634. -------
  1635.  
  1636. Adds a preliminary, contributed PNG driver.  THIS IS NOT USABLE YET -- DON'T
  1637. TRY TO USE IT.  (png.mak, gdevpng.c)
  1638.  
  1639. Increases the maximum allowable scan line width for the TIFF drivers from
  1640. 5183 pixels to 12863 pixels.  (scf.h)
  1641.  
  1642. Platforms
  1643. ---------
  1644.  
  1645. Updates the MS Windows DLL code to export the new, suspendable run_string
  1646. interface.  (gsdll.h, gsdll.c, dll.doc)
  1647.  
  1648. Fonts
  1649. -----
  1650.  
  1651. Fixes bugs:
  1652.     - There were several errors in cfonts.mak.  (cfonts.mak)
  1653.     - The compiled fonts option didn't offer both free and standard
  1654. configurations.  (gs.mak)
  1655.     - A bug in the handling of Encoding resources prevented compiled
  1656. fonts from working.  (gs_res.ps)
  1657.  
  1658. Adds a little more support for CID-keyed fonts.  They still aren't anywhere
  1659. near usable.  (gs_cidfn.ps, gs_type1.ps)
  1660.  
  1661. Adds a new Fontmap for Solaris 2.3.  (Fontmap.Solaris)
  1662.  
  1663. Adds support for Type 4 fonts (Type 1 fonts with their own BuildChar
  1664. procedures), including the CCRun procedure in internaldict.  (gs_fonts.ps,
  1665. gs_res.ps, gs_type1.ps)
  1666.  
  1667. Interpreter
  1668. -----------
  1669.  
  1670. Fixes bugs:
  1671.     - showpage and copypage didn't honor NumCopies in a page device.
  1672. (gs_setpd.ps, zdevice2.c)
  1673.     - currentpagedevice returned incorrect information if the current
  1674. device wasn't a page device.  (gs_setpd.ps)
  1675.     - currentpagedevice didn't guarantee the presence of InputAttributes
  1676. and OutputAttributes.  (gs_setpd.ps)
  1677.     - The l_new bit wasn't set properly when a dictionary changed from
  1678. packed to unpacked keys, leading to unnecessary saves.  (idict.c)
  1679.     - Streams requiring intermediate buffering could read ahead too far,
  1680. causing input data to be skipped.  (zfilter.c)
  1681.     - cshow didn't reset the font to the base font when calling the
  1682. procedure.  (zchar2.c)
  1683.     - The Install procedure in a page device didn't set the default CTM.
  1684. (gs_setpd.ps, zmatrix.c)
  1685.     - findlibfile didn't handle special files like %stdin correctly.
  1686. (zfile.c)
  1687.     - setpagedevice didn't implement media matching.  (gs_setpd.ps,
  1688. zdevice2.c, zmedia2.c, zmatrix.c)
  1689.     - Some floating point numbers didn't print out with enough digits to
  1690. read back in with the identical value.  (iutil.c)
  1691.     - Integers that overflowed 31 bits (but not 32 bits) were converted
  1692. to negative integers rather than correct positive reals.  (iscannum.c)
  1693.  
  1694. Removes an experimental operator that called the image scaling/interpolation
  1695. code.  (zimage2.c)
  1696.  
  1697. Adds a -sSUBSTFONT=<fontname> switch that substitutes the given font for all
  1698. unknown fonts, bypassing the normal intelligent substitution algorithm.
  1699. (gs_fonts.ps)
  1700.  
  1701. Adds the Revision system parameter.  (zmisc2.c)
  1702.  
  1703. Adds a .knownundef operator that does an undef and returns true iff the key
  1704. was formerly present.  (zdict.c)
  1705.  
  1706. Makes the maximum length of names be 256 if EXTEND_NAMES is being used, 16K
  1707. otherwise.  (inamedef.h, iname.c)
  1708.  
  1709. Adds internaldict.  (gs_init.ps, iinit.c)
  1710.  
  1711. Adds support for Type 4 fonts.  (bfont.h, zchar.c, zchar1.c, zfont1.c,
  1712. zfont2.c)
  1713.  
  1714. Changes .encodingdict to EncodingDirectory, for compatibility with Adobe
  1715. interpreters.  (gs_init.ps, gs_kanji.ps, gs_res.ps)
  1716.  
  1717. Adds superexec, an undocumented operator that is equivalent to exec but
  1718. suppresses all invalidaccess checks.  NOT COMPLETED YET; currently superexec
  1719. is equivalent to exec.  (zcontrol.c)
  1720.  
  1721. Interpreter (PDF)
  1722. -----------------
  1723.  
  1724. Fixes bugs:
  1725.     - .stderr was used but is no longer defined.  (pdf_base.ps)
  1726.  
  1727. Streams
  1728. -------
  1729.  
  1730. Fixes bugs:
  1731.     - Not all streams initialized their state pointer.  (stream.c,
  1732. sfile.c, sfileno.c)
  1733.  
  1734. Adds a filter for the smoothed image scaling algorithm.  Eventually this
  1735. filter will require very little intermediate storage; right now it still
  1736. needs to buffer the entire intermediate image.  (siscale.h, siscale.c)
  1737.  
  1738. Increases the maximum allowable scan line width for the CCITTFaxEncode
  1739. filter from 5183 pixels to 12863 pixels.  (scf.h)
  1740.  
  1741. Library
  1742. -------
  1743.  
  1744. Fixes bugs:
  1745.     - setpagedevice didn't update NumCopies correctly.  (gdevprn.c,
  1746. gsdparam.c)
  1747.     - The newly optimized code for monobit bitmaps could cause an
  1748. out-of-bounds memory access and/or make unaligned references.  (gsimage1.c)
  1749.     - setpagedevice with unknown keys could cause an /undefined error.
  1750. (gsdparam.c)
  1751.     - cshow didn't reset the font to the base font when calling the
  1752. procedure.  (gschar.h, gschar.c)
  1753.     - The Install procedure in a page device didn't set the default CTM.
  1754. (gzstate.h, gschar.c, gscoord.c, gsdevice.c)
  1755.     - Very non-linear EncodeABC procedures in a color rendering
  1756. dictionary could produce very inaccurate results.  (gscie.h, gscie.c)
  1757.     - The line_ptrs pointer in memory devices didn't get relocated if
  1758. the bitmap was moved during garbage collection, leading to memory smashing.
  1759. (gdevmem.c)
  1760.     - setpagedevice didn't implement media matching.  (gsdparam.c,
  1761. gscoord.c)
  1762.     - 'word' memory devices weren't recognized as memory devices.
  1763. (gdevmem.c)
  1764.     - makeimagedevice allocated, and then didn't free, an unnecessary
  1765. palette for monobit devices.  (gsdevmem.c)
  1766.     - The hack for 1-bit-wide images didn't work consistently,
  1767. particularly in landscape orientation.  (gsimage.c, gsimage0.c)
  1768.  
  1769. Adds an .IgnoreNumCopies page device parameter that causes #copies and
  1770. NumCopies to be ignored.  (gxdevice.h, gsdevice.c, gsdparam.c)
  1771.  
  1772. Removes the .IsPageDevice device parameter.  (gsdparam.c)
  1773.  
  1774. Converts the image scaling/interpolation code to a filter.  (gximage.h,
  1775. gsimage.c, gsimage0.c, gsimage3.c)
  1776.  
  1777. Adds support for Type 4 fonts.  (gxfont.h)
  1778.  
  1779. Adds a default implementation of parameter lists, designed to be usable
  1780. easily from C code.  (gsparam.h, gsparam.c)
  1781.  
  1782. Version 3.40(limited) (6/28/95)
  1783. =====================
  1784.  
  1785. This is another incremental limited release for delivery of a couple of
  1786. important bug fixes (pixel 'holes' in rotated images, setpagedevice errors
  1787. on some platforms) and an enhancement (architectural support for band lists
  1788. in RAM).
  1789.  
  1790. Documentation
  1791. -------------
  1792.  
  1793. Fixes bugs:
  1794.     - The FTP location of the EMX DLLs was incorrect.  (use.doc)
  1795.  
  1796. Procedures
  1797. ----------
  1798.  
  1799. Fixes bugs:
  1800.     - A couple of build rules for IJG v6 were omitted.  (jpeg.mak)
  1801.  
  1802. Utilities
  1803. ---------
  1804.  
  1805. Fixes bugs:
  1806.     - prfont.ps wouldn't print more than 128 unencoded characters.
  1807. (prfont.ps)
  1808.  
  1809. Platforms
  1810. ---------
  1811.  
  1812. Fixes bugs:
  1813.     - setpagedevice often caused /undefined errors on MS Windows and
  1814. OS/2 platforms.  (gdevmswn.c, gdevpm.c)
  1815.     - The VMS module list had gotten out of sync with the makefiles
  1816. (again).  (modules.lis)
  1817.  
  1818. Interpreter
  1819. -----------
  1820.  
  1821. Fixes bugs:
  1822.     - A couple of casts betwen char * and byte * were omitted.
  1823. (gsmain.c)
  1824.     - gs_[main_]run_file_open wasn't exported properly.  (imain.h,
  1825. main.h, gsmain.c)
  1826.  
  1827. Streams
  1828. -------
  1829.  
  1830. Changes the DCTEncode filter to return an error if it wasn't supplied enough
  1831. data before being closed.  (sdcte.c)
  1832.  
  1833. Library
  1834. -------
  1835.  
  1836. Fixes bugs:
  1837.     - The coordinate computations for all filling operations were
  1838. slightly inaccurate, leading to pixel 'holes' in rotated images.  (gxdda.h,
  1839. gximage.h, gsimage*.c, gxdraw.c, gxfill.c)
  1840.  
  1841. Undoes an "optimization" (inlining the normal, fast case of a procedure)
  1842. that actually hurt performance.  (gxclist.c)
  1843.  
  1844. Refactors the command list code so that it in the future it will be able to
  1845. store command lists either in RAM or in the file system.  (gdevprn.h,
  1846. gxcldev.h, gxclio.h, gxclist.h, gdevprn.c, gxclfile.c, gxclist.c,
  1847. gxclread.c)
  1848.  
  1849. Changes the interface to the path filling code to take separate X and Y
  1850. adjustment values.  (gxpaint.h, gspaint.c, gxfill.c)
  1851.  
  1852. Makes the command list allocate a small tile cache if the device doesn't
  1853. need halftones.  (gxclist.c)
  1854.  
  1855. Version 3.39(limited) (6/24/95)
  1856. =====================
  1857.  
  1858. This is again an incremental release primarily for delivery of enhancements
  1859. (suspendable string input in particular) to commercial customers, and with a
  1860. few bug fixes.
  1861.  
  1862. Documentation
  1863. -------------
  1864.  
  1865. Notes that PDF files and repositioning PostScript files do not work if
  1866. Ghostscript was compiled with VAX C.  (use.doc)
  1867.  
  1868. Notes the requirement for EOD lookahead in decoding filters.  (strimpl.h)
  1869.  
  1870. Procedures
  1871. ----------
  1872.  
  1873. Fixes bugs:
  1874.     - There were a number of undefined or used-before-defined variables
  1875. in the makefiles.  (devs.mak, dvx-head.mak, unixhead.mak, gs.mak)
  1876.     - Some commands in the makefile exceeded the MS-DOS limit of 120
  1877. characters.  (gs.mak)
  1878.  
  1879. Adds a -P and -P- switch to control whether the search path automatically
  1880. includes `.' as its first element.  Moves the default value of this choice
  1881. (SEARCH_HERE_FIRST) from gsmain.c to iminst.h.  (iminst.h, gs.c, gsmain.c,
  1882. use.doc)
  1883.  
  1884. Makes some makefile changes in anticipation of the IJG v6 release.  (*.mak)
  1885.  
  1886. Utilities
  1887. ---------
  1888.  
  1889. Fixes bugs:
  1890.     - font2c generated invalid C procedure names from font names that
  1891. contained non-alphanumerics other then '-'.  (font2c.ps)
  1892.     - font2c generated a single element of incorrect type for numeric
  1893. arrays of zero length.  (font2c.ps)
  1894.  
  1895. Platforms
  1896. ---------
  1897.  
  1898. Fixes bugs:
  1899.     - The VMS build scripts had gotten out of sync (again).  (vms*.mak,
  1900. modules.lis)
  1901.  
  1902. Fonts
  1903. -----
  1904.  
  1905. Makes the FONTPATH directory scanner accept fonts that begin with
  1906. %!PS-AdobeFont or %!FontType1 with no following `-'.  (gs_fonts.ps)
  1907.  
  1908. Interpreter
  1909. -----------
  1910.  
  1911. Fixes bugs:
  1912.     - eq and ne on arrays or dictionaries required read access.
  1913. (zrelbit.c)
  1914.     - An include was missing.  (zcsindex.c)
  1915.     - .forgetsave at the outermost level didn't reset the l_new flag in
  1916. changed slots, leading to an anomalous (although perhaps not harmful) state.
  1917. (isave.c)
  1918.     - Dictionary growing or unpacking would both save and free the old
  1919. keys array, leading to a dangling reference.  (idict.c)
  1920.  
  1921. Changes gs_interpret so that for .quit with a negative operand <= -100,
  1922. gs_interpret returns e_Fatal rather than the operand.  THIS IS A
  1923. NON-BACKWARD-COMPATIBLE CHANGE, but as far as we know, it doesn't affect
  1924. anyone.  (interp.c)
  1925.  
  1926. Adds an API to allow feeding string input to the interpreter in pieces.
  1927. (errors.h, imain.h, main.h, gs.c, gsmain.c, interp.c, zcontrol.c, zfilter.c)
  1928.  
  1929. Adds new predicates .identeq and .identne that test "pointer equality", even
  1930. for numbers and strings.  (iutil.h, iutil.c, zrelbit.c)
  1931.  
  1932. Changes a few uses of return_error to return in places that don't lead
  1933. directly to a PostScript error.  (idict.c)
  1934.  
  1935. Streams
  1936. -------
  1937.  
  1938. Fixes bugs:
  1939.     - The logic for skipping up to a 0xff byte when decoding JPEG data
  1940. could skip too much.  (sdctd.c, sjpegd.c)
  1941.     - If a buffer boundary fell in the middle of, or just before, an
  1942. EOD, some decoding filters could stop reading too soon.  (sbcp.c, smtf.c,
  1943. sstring.c)
  1944.  
  1945. Makes some minor changes in anticipation of the IJG v6 release.
  1946. (gsjmorec.h)
  1947.  
  1948. Library
  1949. -------
  1950.  
  1951. Fixes bugs:
  1952.     - A declaration should have been removed.  (gsdll.c)
  1953.     - The library initialization/termination API wasn't declared.
  1954. (gslib.h, gsinit.c, gsmain.c)
  1955.     - A variable and a preprocessor macro with the same name confused
  1956. VAX C.  (gxclist.c)
  1957.     - Image devices with depth 2-8 and only gray shades in the palette
  1958. didn't set color_info correctly.  (gsdevice.c)
  1959.  
  1960. Speeds up unrotated black-and-white images further by making them render
  1961. directly into a memory device when possible.  (gxdevmem.h, gsimage1.c)
  1962.  
  1963. Version 3.38(limited) (6/18/95)
  1964. =====================
  1965.  
  1966. This release incorporates several customer-requested enhancements (cleaner
  1967. separation of the graphics library from the interpreter, option for >64K
  1968. names, true garbage collection of names, better handling of halftones on
  1969. band devices).  It is intended primarily for those customers, but is
  1970. intended as a dry run for the next public release.
  1971.  
  1972. Documentation
  1973. -------------
  1974.  
  1975. Fixes bugs:
  1976.     - gx_bitmap had not been updated to gx_tile_bitmap.
  1977. (drivers.doc)
  1978.  
  1979. Procedures
  1980. ----------
  1981.  
  1982. Fixes bugs:
  1983.     - The man page extension in the Unix makefiles was still $(manext),
  1984. not $(man1ext).  (unix-end.mak)
  1985.     - 'make clean' didn't remove gs_init.c.  (gs.mak)
  1986.  
  1987. Restructures the makefiles to better separate the language interpreters from
  1988. the graphics core.  (gs.mak)
  1989.  
  1990. Adds a -dNOPROMPT switch to suppress the end-of-page prompts (but still wait
  1991. for the user to type a newline).  This is different from -dNOPAUSE, which
  1992. suppresses both the prompts and the wait.  (gs_init.ps)
  1993.  
  1994. Utilities
  1995. ---------
  1996.  
  1997. Replaces the mergeini.ps program with an equivalent (actually slightly
  1998. better) version written in C.  (gs.mak, *.mak, psfiles.doc, use.doc,
  1999. geninit.c)
  2000.  
  2001. Drivers
  2002. -------
  2003.  
  2004. Fixes bugs:
  2005.     - The color DeskJet drivers wouldn't compile with a K&R compiler,
  2006. because some of the procedure definitions weren't in the restricted syntax
  2007. that ansi2knr requires.  (gdevcdj.c)
  2008.     - The color DeskJet drivers wouldn't compile because of a bug in
  2009. Sun's cc.  (gdevcdj.c)
  2010.  
  2011. Changes the BJ-10e(x) margins to be identical to those of the BJ-200.
  2012. (gdevbj10.c)
  2013.  
  2014. Changes the LaserJet margins in response to a user's request.  (gdevdjet.c)
  2015.  
  2016. Changes the psmono driver to produce slightly larger files that execute
  2017. faster on typical Level 1 printers.  (gdevpsim.c)
  2018.  
  2019. Changes the psmono driver so that it does not scale the image to fit the
  2020. page size, but instead scales it to be the same physical size on the page.
  2021. THIS IS A NON BACKWARD COMPATIBLE CHANGE.  However, for full-page images, it
  2022. will not have any visible effect.  (gdevpsim.c)
  2023.  
  2024. Platforms
  2025. ---------
  2026.  
  2027. Fixes bugs:
  2028.     - There were some problems associated with printing in 32-bit
  2029. Windows environments.  (gp_mswin.c)
  2030.     - The IBM RS/6000 needs both <time.h> and <sys/time.h>.  (time_.h)
  2031.  
  2032. Adds the PDF interpreter to the standard MS Windows configuration.
  2033. (bcwin.mak)
  2034.  
  2035. Fonts
  2036. -----
  2037.  
  2038. Fixes bugs:
  2039.     - The entry for Courier-BoldItalic in cfonts.mak incorrectly named
  2040. it as Courier-Italic.  (cfonts.mak)
  2041.     - The files for Courier-Italic in cfonts.mak were inconsistently
  2042. named ncrri instead of ncri.  (cfonts.mak)
  2043.     - The rules in cfonts.mak covered only the fonts distributed with
  2044. the free versions of Ghostscript, omitting some of the standard set of 35.
  2045. (cfonts.mak)
  2046.     - The maximum number of stem hints per character in Type 1 fonts
  2047. wasn't large enough for complex Asian characters. (gxtype1.h)
  2048.  
  2049. Adds a -dNOFONTMAP switch to suppress loading the Fontmap file.
  2050. (gs_init.ps, gs_fonts.ps)
  2051.  
  2052. Interpreter
  2053. -----------
  2054.  
  2055. Fixes bugs:
  2056.     - One of the GC marking routines for halftones had a typo,
  2057. possibly leading to an invalid access.  (zht2.c)
  2058.     - The GC could store beyond the end of the mark stack,
  2059. possibly smashing some characters of a string or name.  (igc.c)
  2060.     - If the allocator allocated a new ref object from a
  2061. freelist, the bookkeeping for the current ref object could get
  2062. confused.  (ialloc.c)
  2063.     - The GC didn't remove names properly from the hash table.
  2064. (iname.c)
  2065.     - If a DOS editor added a ^Z to the end of an initialization file,
  2066. an error occurred during initialization.  (gs_init.ps)
  2067.     - If an initialization file had any lines longer than 128
  2068. characters, .skipeof would get an error.  (gs_init.ps)
  2069.     - makepattern could create structures in global VM pointing to
  2070. structures in local VM.  (zpcolor.c)
  2071.     - The default color rendering dictionary didn't specify large enough
  2072. ranges for some intermediate values.  (gs_lev2.ps)
  2073.     - Files being freed by a restore weren't unlinked properly, leading
  2074. to dangling pointers.  (zfile.c)
  2075.     - The interpreter used strlen without a prototype.  (interp.c)
  2076.     - Indexed or Separation colors with a CIE base or alternate space
  2077. didn't work.  (zcie.c)
  2078.     - The Watcom C 10.0 compiler produced incorrect code for an
  2079. overlapping structure assignment.  (zcsindex.c)
  2080.  
  2081. Removes limit of 64K names, if EXTEND_NAMES is defined at compile
  2082. time.  (*.mak, idebug.h, iminst.h, iname.h, gs.c, gsmain.c, idebug.c,
  2083. iname.c)
  2084.  
  2085. Makes the garbage collector really collect names.  (iname.h, inamedef.h,
  2086. isstate.h, igc.c, iname.c, isave.c)
  2087.  
  2088. Restructures some files to better separate the language interpreters
  2089. from their support code.  (gconfig.c, iconfig.c, iinit.c)
  2090.  
  2091. Restructures some files to better separate the language interpreters
  2092. from the graphics core.  (iastate.h, iastruct.h, ialloc.c)
  2093.  
  2094. Allows the operands of cshow to be in either order on the stack.  Adobe
  2095. interpreters apparently allow this, even though it's not documented.
  2096. (zchar2.c)
  2097.  
  2098. Adds a hack in cvs to truncate non-standard operator names, rather than
  2099. giving a rangecheck, to work around the "max err string" problem in some
  2100. common error handlers.  (ztype.c)
  2101.  
  2102. Changes the print string for unregistered operators from operator_0x... to
  2103. @0x....  (iutil.c)
  2104.  
  2105. Changes the garbage collector so it tries to allocate a large mark stack, to
  2106. avoid going into its 'slow' mode if the mark stack overflows.  (igc.c)
  2107.  
  2108. Interpreter (PDF)
  2109. -----------
  2110.  
  2111. Fixes bugs:
  2112.     - Stroked text used the text matrix, rather than just the
  2113. CTM, for scaling the line width, which could lead to inappropriately
  2114. wide lines.  (gs_pdf.ps)
  2115.     - Fonts based on other than a 1000-unit scale (i.e., with a
  2116. FontMatrix other than [0.001 0 0 0.001 0 0]) didn't scale Widths to
  2117. match the font scaling.  (pdf_font.ps)
  2118.  
  2119. Implements the PDF 1.1 color space extensions, except for Lab space.
  2120. (gs_pdf.ps, pdf_draw.ps)
  2121.  
  2122. Implements the Rotate key for pages.  (pdf_main.ps)
  2123.  
  2124. Streams
  2125. -------
  2126.  
  2127. Fixes bugs:
  2128.     - When the garbage collector closed a file stream, the stream
  2129. incorrectly attempted to free the buffer.  (stream.c)
  2130.  
  2131. Separates out some stream implementations to better distinguish the
  2132. graphics core from the language interpreters.  (smtf.h, sfilter1.c,
  2133. smtf.c, srld.c, srle.c)
  2134.  
  2135. Library
  2136. -------
  2137.  
  2138. Fixes bugs:
  2139.     - Compressing characters being entered in the cache could cause an
  2140. invalid memory access.  (gsbitops.c)
  2141.     - The setbbox bounding box check was slightly inaccurate.
  2142. (gsdps1.c)
  2143.     - makepattern could create structures in global VM pointing to
  2144. structures in local VM.  (gscolor2.h, gspcolor.c)
  2145.     - Out-of-range values during CIE color conversion led to random
  2146. results.  (gscie.c)
  2147.     - On output devices with non-inverted Y axes (such as MS Windows),
  2148. Interpolated images would smash memory.  (gsimage.c)
  2149.     - 90 degree rotated zero-width images caused an invalid memory
  2150. access.  (gsimage1.c)
  2151.     - If #copies was zero, showpage could create bogus empty output
  2152. files.  (gdevprn.c)
  2153.     - PageCount didn't take #copies into account.  (gsdevice.c)
  2154.     - Indexed or Separation colors with a CIE base or alternate space
  2155. didn't work.  (gscie.h, gscie.c)
  2156.  
  2157. Implements triangular line caps and joins, in anticipation of adding
  2158. a PCL5 interpreter.  (gsline.h, gxstroke.c)
  2159.  
  2160. Moves some procedures around for better separation of library from
  2161. interpreter.  (gsinit.c, gslib.c, gsmain.c, gsmisc.c)
  2162.  
  2163. Moves the standard allocator from the interpreter to the library.
  2164. (gsalloc.h, gxalloc.h, gxobj.h, gsalloc.c)
  2165.  
  2166. Starts to change the representation of paths slightly to make it possible to
  2167. identify arcs.  This change is backward-compatible for all code except
  2168. callers of gx_path_add_arc.  (gxpath.h, gspath1.c, gxpath.c, gxstroke.c)
  2169.  
  2170. Adds some framework for keeping track of RasterOp and "transparency" in the
  2171. graphics state, although these don't actually have any effect yet.
  2172. (gsrop.h, gsropt.h, gsstate.h, gxcldev.h, gzstate.h, gsrop.c, gsstate.c,
  2173. gxclist.c, gxclread.c)
  2174.  
  2175. Adds a compile-time option for using the Adobe RGB<->CMYK conversion rules.
  2176. (gxdcconv.c)
  2177.  
  2178. Adds a driver procedure for identifying band devices.  This change is
  2179. backward-compatible for all existing devices.  (gdevmem.h, gxdevice.h,
  2180. gsdevice.c, gxclip2.c, gxclist.c, gxcpath.c)
  2181.  
  2182. Speeds up gray-scale images on devices requiring banding, and enables
  2183. further optimizations, by reintroducing the distinction between banded and
  2184. non-banded devices.  (gxdevice.h, gdevprn.c, gsimage1.c)
  2185.  
  2186. Reduces the size of the band list for halftoned images by encoding tile
  2187. indices more compactly.  (gxcldev.h, gxclist.h, gxclist.c, gxclread.c)
  2188.  
  2189. Extends the band list so it can cache more than 256 halftone tiles, and to
  2190. make better decisions about tile caching.  (gxcldev.h, gxclist.h, gxclist.c,
  2191. gxclread.c)
  2192.  
  2193. Version 3.37(limited) (5/11/95)
  2194. =====================
  2195.  
  2196. Another bug fix release distributed only to customers.
  2197.  
  2198. Documentation
  2199. -------------
  2200.  
  2201. Fixes bugs:
  2202.     - Some documentation about parameter lists was incorrect.
  2203. (gsparam.h)
  2204.     - The documentation did not note that one cannot "pipe" PDF files
  2205. into the interpreter.  (use.doc)
  2206.  
  2207. Adds documentation for the BJC-600 to devices.doc.  (devices.doc)
  2208.  
  2209. Procedures
  2210. ----------
  2211.  
  2212. Changes the debugging switch for OS calls from -Z0 to -Ze, and adds -Z0 for
  2213. high-level GC tracing.  (use.doc, gp_unifs.c, ialloc.c, igc.c)
  2214.  
  2215. Utilities
  2216. ---------
  2217.  
  2218. Fixes bugs:
  2219.     - The ps2ascii shell script included an erroneous @d.  (ps2ascii)
  2220.  
  2221. Enhances ps2ascii to output color and rectangle fill/stroke information if
  2222. COMPLEX is defined.  (ps2ascii.ps)
  2223.  
  2224. Drivers
  2225. -------
  2226.  
  2227. Fixes bugs:
  2228.     - the BJC-600 driver didn't handle BitsPerPixel correctly.
  2229. (gdevcdj.c)
  2230.  
  2231. Fonts
  2232. -----
  2233.  
  2234. Fixes bugs:
  2235.     - Some buggy Type 1 fonts confused the Type 1 font reader.
  2236. (gs_fonts.ps, gs_type1.ps, pdf_font.ps)
  2237.  
  2238. Interpreter (PostScript)
  2239. -----------
  2240.  
  2241. Fixes bugs:
  2242.     - .registerencoding didn't accept mixedarrays, which could cause an
  2243. error if an encoding was loaded long after initialization.  (zfont2.c)
  2244.     - If a program did a lot of saves and restores, the garbage
  2245. collector could get invoked much too often.  (iastate.h, ialloc.c, igc.c,
  2246. isave.c)
  2247.  
  2248. Changes the name of the rectappend operator to .rectappend, since it isn't a
  2249. standard PostScript operator.  (zdps1.c)
  2250.  
  2251. Interpreter (PDF)
  2252. -----------------
  2253.  
  2254. Fixes bugs:
  2255.     - PDF files didn't interact properly with ps2ascii.  (gs_pdf.ps)
  2256.     - setdash wouldn't accept a packed array.  (zgstate.c)
  2257.     - PDF files with incorrect generation numbers in object references
  2258. produced an error rather than a warning.  (pdf_base.ps)
  2259.  
  2260. Version 3.36(limited) (5/4/95)
  2261. =====================
  2262.  
  2263. This is a limited-distribution release for distributing bug fixes to a few
  2264. customers.
  2265.  
  2266. Documentation
  2267. -------------
  2268.  
  2269. Adds some environment variables to the man page.  (gs.1)
  2270.  
  2271. Procedures
  2272. ----------
  2273.  
  2274. Adds the psmono device to all 32-bit configurations.  (*.mak)
  2275.  
  2276. Moves the psmono and 'bit' devices to DEVICE_DEVS12 to avoid exceeding the
  2277. 120-character maximum length of the DOS command line.  (*.mak)
  2278.  
  2279. Drivers
  2280. -------
  2281.  
  2282. Changes the pgm[raw] and ppm[raw] drivers so they do *not* automatically
  2283. switch to pbm or pgm/ppm respectively if this is possible for the particular
  2284. page being rendered; adds pgnm[raw] and pnm[raw] drivers that *do* do this.
  2285. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE.  However, existing programs will
  2286. still work; they just won't produce the smallest and simplest possible
  2287. output.  (devs.mak, gdevpbm.c)
  2288.  
  2289. Interpreter
  2290. -----------
  2291.  
  2292. Fixes bugs:
  2293.     - A multi-level restore didn't free gstates allocated by
  2294. intermediate saves, causing some global VM to be lost until a garbage
  2295. collection.  (isave.h, isave.c, zvmem.c)
  2296.  
  2297. Speeds up restore by skipping the scan of the character cache if no new
  2298. names have been allocated since the save.  (zfont.c)
  2299.  
  2300. Extends the client API to allow for popping return values off the operand
  2301. stack.  (imain.h, gs.c, gsmain.c)
  2302.  
  2303. Library
  2304. -------
  2305.  
  2306. Modifies the character oversampling algorithms to help prevent dropouts.
  2307. (gsbitops.c, gschar.c)
  2308.  
  2309. Version 3.35(internal) (5/2/95)
  2310. ======================
  2311.  
  2312. This is another internal "snapshot" version.
  2313.  
  2314. Documentation
  2315. -------------
  2316.  
  2317. Fixes bugs:
  2318.     - Some of the file names in the `man' page had gotten out of date.
  2319. (gs.1)
  2320.     - Two references to .PageCount hadn't been changed to PageCount.
  2321. (language.doc, devarch.doc)
  2322.  
  2323. Procedures
  2324. ----------
  2325.  
  2326. Puts writeppmfile back in the standard Unix and DV/X configurations, since
  2327. gsftopk uses it.  Also puts the PDF reader in all 32-bit configurations.
  2328. (*.mak)
  2329.  
  2330. Moves the BMP devices to DEVICE_DEVS11 to avoid exceeding the 120-character
  2331. maximum length of the DOS command line.  (bcwin.mak, bcwin32.mak, os2.mak)
  2332.  
  2333. Utilities
  2334. ---------
  2335.  
  2336. Fixes bugs:
  2337.     - unix-lpr.sh didn't handle 32-bit devices.  (unix-lpr.sh)
  2338.     - unix-lpr.sh still used the name .PageCount rather than PageCount.
  2339. (unix-lpr.sh)
  2340.     - font2c gave an error when trying to write general procedures in
  2341. font dictionaries.  (font2c.ps)
  2342.  
  2343. Adds a pdf2dsc.ps utility for writing out fake DSC-compliant PostScript code
  2344. to invoke the PDF reader, for the benefit of viewer programs that aren't
  2345. PDF-aware.  (unix-end.mak, pdf2dsc.ps)
  2346.  
  2347. Drivers
  2348. -------
  2349.  
  2350. Fixes bugs:
  2351.     - The TIFF drivers put out incorrect PageNumber values.
  2352. (gdevtfax.c)
  2353.     - Printer (and file output) devices got closed and reopened
  2354. unnecessarily when changing parameters.  (gdevprn.c)
  2355.     - Printer (and file output) devices didn't check for invalid formats
  2356. following a % in OutputFile.  (devs.mak, gdevprn.c)
  2357.     - 1-bit memory devices were not considered page devices, unlike all
  2358. other memory devices.  (gsdevice.c)
  2359.     - The black-and-white H-P printers didn't close the printer
  2360. properly, causing printing not to happen under MS Windows.  (gdevprn.c)
  2361.     - Some compilers didn't like initializing a const char * to NULL.
  2362. (gdevlbp8.c)
  2363.  
  2364. Changes the X Windows driver so that if Ghostview specifies a bounding box,
  2365. this also sets ImagingBBox.  (gdevxini.c)
  2366.  
  2367. At the request of a customer, adds 1-, 4-, 8-, 24-, and 32-bit-deep memory
  2368. devices that store bits in 32-bit units rather than byte units.  (gdevmem.h,
  2369. gxdevmem.h, gdevmem.c, gdevm1.c, gdevm2.c, gdevm4.c, gdevm8.c, gdevm16.c,
  2370. gdevm24.c, gdevm32.c)
  2371.  
  2372. Adds a new MS Windows printer driver, mswinpr2, that uses a DIB rather than
  2373. a DDB.  (gdevwpr2.c)
  2374.  
  2375. Platforms
  2376. ---------
  2377.  
  2378. Fixes bugs:
  2379.     - A routine wouldn't compile because of a bug in the SGI C compiler.
  2380. (zcsindex.c)
  2381.     - Some declarations were inconsistent when compiling for segmented
  2382. environments.  (gscie.c)
  2383.     - A routine wouldn't compile because of a bug in the VAX C compiler.
  2384. (gscie.c)
  2385.  
  2386. Turns on compiler optimization for OS/2; adds PDF support and more devices
  2387. for Win32 and OS/2.  (bcwin.mak, bcwin32.mak, os2.mak)
  2388.  
  2389. Fonts
  2390. -----
  2391.  
  2392. Fixes bugs:
  2393.     - Font loading used 'setglobal' without binding it, which caused
  2394. some EPS files to signal errors.  (gs_fonts.ps)
  2395.     - A zero-length string with offset = 0 in a binary object sequence
  2396. caused an error.  (iscanbin.c)
  2397.  
  2398. Adds a LOCALFONTS switch that causes Ghostscript to load Type 1 fonts into
  2399. the current VM, rather than global VM.  According to Adobe, this is what
  2400. Adobe printers (but not other interpreters, such as DPS and CPSI) do.
  2401. (gs_init.ps, gs_fonts.ps)
  2402.  
  2403. Interpreter
  2404. -----------
  2405.  
  2406. Fixes bugs:
  2407.     - The 'note' page size command caused pages to be clipped
  2408. improperly.  (gs_statd.ps)
  2409.  
  2410. Adds "word" image devices.  (gs_init.ps, zdevice.c)
  2411.  
  2412. Starts converting the interpreter to use an explicit instance pointer.  This
  2413. is very fragmentary so far and not really supported.  (main.h, gs.c,
  2414. gsmain.c, iccinit.c)
  2415.  
  2416. Library
  2417. -------
  2418.  
  2419. Adds "word" image devices.  (gsdevice.h, gsdevice.c)
  2420.  
  2421. Removes the requirement that ImagingBBox[0] and [1] be non-negative.  (The
  2422. Adobe specification requires this, but Ghostscript supports more general
  2423. initial CTMs than the Adobe spec.)  (gsdparam.c)
  2424.  
  2425. Version 3.34(internal) (4/18/95)
  2426. ======================
  2427.  
  2428. This is a "snapshot" version made for internal purposes.  It was never
  2429. released to anyone.
  2430.  
  2431. Documentation
  2432. -------------
  2433.  
  2434. Updates commprod.doc to be fully consistent with the AGFPL.  (commprod.doc)
  2435.  
  2436. Procedures
  2437. ----------
  2438.  
  2439. Fixes bugs:
  2440.     - tar_x was out of date.  (tar_x)
  2441.     - tar_gs assumed that if any PC executables were present, gs.exe
  2442. would exist.  (tar_gs)
  2443.     - jpeg.mak said the current IJG version was 5b, but the makefiles
  2444. actually referred to version 5a.  (jpeg.mak)
  2445.     - The build rule for the LIPS III driver was incorrect.  (devs.mak)
  2446.     - Some definitions in the makefiles occurred out of order.
  2447. (ansihead.mak, cc-head.mak, gcc-head.mak, unixhead.mak, unixtail.mak)
  2448.     - The build rule for dvx-gcc.mak was incorrect.  (unix-end.mak)
  2449.  
  2450. Interpreter
  2451. -----------
  2452.  
  2453. Restructures the CIE caches to move much more of the computation from color
  2454. mapping time to cache loading time.  (zcie.c)
  2455.  
  2456. Library
  2457. -------
  2458.  
  2459. Fixes bugs:
  2460.     - Color conversion of 12-bit images was very slightly inaccurate.
  2461. (gxfrac.h)
  2462.  
  2463. Changes the transfer function, black generation, and undercolor removal
  2464. caches so that they sample at 1024 points and don't interpolate, rather than
  2465. sampling at 256 points and interpolating.  This significantly improves the
  2466. speed of colored image rendering.  ****** LIMITED TO 256 POINTS BECAUSE OF
  2467. O-STACK SIZE LIMIT. ****** (gxfmap.h, gxcmap.c)
  2468.  
  2469. Restructures the CIE caches to move much more of the computation from color
  2470. mapping time to cache loading time.  (gscie.h, gscie.c)
  2471.  
  2472. Version 3.33 (4/13/95)
  2473. ============
  2474.  
  2475. A few more last-minute bug fixes.  This is, finally, the first public
  2476. release since 3.12.
  2477.  
  2478. Documentation
  2479. -------------
  2480.  
  2481. Fixes bugs:
  2482.     - There was a reference to "VAX with OSF/1", which doesn't exist,
  2483. and an incorrect reference to VAX with Ultrix.  (make.doc)
  2484.     - The Unix makefiles incorrectly stated that gsdatadir was only
  2485. relevant to `make install'.  (ansihead.mak, cc-head.mak, dgc-head.mak,
  2486. gcc-head.mak)
  2487.     - Notes that DV/X users should use the zip version of the JPEG
  2488. library.  (jpeg.mak)
  2489.  
  2490. Procedures
  2491. ----------
  2492.  
  2493. Fixes bugs:
  2494.     - A command line had gotten too long for the MS-DOS shell.
  2495. (gs.mak)
  2496.     - The VMS DEC C script didn't explicitly select DEC C.
  2497. (vms-decc.mak)
  2498.     - The VMS MODULES.LIS omitted SPDIFF and ZFPDIFF.  (modules.lis)
  2499.     - The VMS script had an incorrect entry.  (vms.mak)
  2500.     - The `if' fix in 3.31 broke some Unix systems with different
  2501. implementations of sh.  (unix-end.mak)
  2502.     - The makefile definition of gscspace_h was out of order.  (gs.mak)
  2503.     - An extra ; got written in gconfig_.h on DV/X platforms.
  2504. (dvx-tail.mak)
  2505.     - '.' was incorrectly prepended to the library search list on DV/X
  2506. platforms.  (dgc-head.mak)
  2507.     - The build rules for unix*.mak didn't work on DV/X.  (unix-end.mak)
  2508.  
  2509. Adds a description of the -c quit switch to the help message.  (gs.c)
  2510.  
  2511. For the DV/X platform, changes /usr/include to /djgpp/include as the place
  2512. to look for header files.  I'm not sure this is always correct.
  2513. (dvx-tail.mak)
  2514.  
  2515. Utilities
  2516. ---------
  2517.  
  2518. Fixes bugs:
  2519.     - ps2ascii would cause an error if given a font that didn't have an
  2520. 'X' character.  (ps2ascii.ps)
  2521.     - ps2ascii didn't intercept the Level 2 string display operators.
  2522. (ps2ascii.ps)
  2523.  
  2524. Drivers
  2525. -------
  2526.  
  2527. Fixes bugs:
  2528.     - The Stylus Color driver had an incorrect type name.  (gdevstc.c)
  2529.  
  2530. Platforms
  2531. ---------
  2532.  
  2533. Fixes bugs:
  2534.     - -dBitsPerPixel= didn't work properly for MS Windows or OS/2 PM.
  2535. (gdevmswn.c, gdevpm.c)
  2536.     - The Win32 platform didn't compile properly.  (memory_.h)
  2537.  
  2538. Fonts
  2539. -----
  2540.  
  2541. Improves the font substitution algorithm to take the face name into account
  2542. in more cases.  (gs_fonts.ps)
  2543.  
  2544. Library
  2545. -------
  2546.  
  2547. Fixes bugs:
  2548.     - Unrotated black-and-white bitmaps with an inverted device X axis
  2549. were displaced in X.  (gsimage1.c)
  2550.  
  2551. Version 3.32 (4/7/95)
  2552. ============
  2553.  
  2554. More bug fixes.  This is still not a public release.
  2555.  
  2556. Documentation
  2557. -------------
  2558.  
  2559. Further clarifies the "two-phase commit" algorithm for device put_params
  2560. procedures.  (drivers.doc, gsparam.h)
  2561.  
  2562. Adds a note about a compiler bug under Ultrix 4.4.  (make.doc)
  2563.  
  2564. Procedures
  2565. ----------
  2566.  
  2567. Fixes bugs:
  2568.     - Some installation scripts could fail because some implementations
  2569. of sh take the status of an `if' condition as the status of the `if'
  2570. command.  (unix-end.mak)
  2571.  
  2572. Adds "maintainer-clean" as a synonym for "real-clean".  (gs.mak)
  2573.  
  2574. Adds a -dORIENT1 switch that defines orientation = 1 as portrait for
  2575. setpage[params].  (use.doc, gs_init.ps, gs_lev2.ps, gs_statd.ps)
  2576.  
  2577. Utilities
  2578. ---------
  2579.  
  2580. Fixes bugs:
  2581.     - ps2ascii didn't redirect %stdout completely.  (ps2ascii.ps)
  2582.     - ps2ascii didn't preserve the local/global VM mode.  (ps2ascii.ps)
  2583.     - ps2ascii didn't handle fonts with an all-zero or missing bounding
  2584. box correctly.  (ps2ascii.ps)
  2585.     - viewpbm didn't scale the image properly.  (viewpbm.ps)
  2586.  
  2587. Drivers
  2588. -------
  2589.  
  2590. Fixes bugs:
  2591.     - The CGM driver wrote out an incorrect color precision value.
  2592. (gdevcgm.c)
  2593.     - The SGI bitmap driver was named "sgi" rather than "sgirgb".
  2594. (gdevsgi.c)
  2595.     - The PCX driver didn't round up an odd line length for gray-scale
  2596. output.  (gdevpcx.c)
  2597.     - The PCX driver produced incorrect output for gray-scale or 4- or
  2598. 8-bit color.  (gdevpcx.c)
  2599.  
  2600. Platforms
  2601. ---------
  2602.  
  2603. Fixes bugs:
  2604.     - The VMS MODULES.LIS file had gotten out of sync with the Unix
  2605. makefiles (again).  (modules.lis)
  2606.  
  2607. Interpreter
  2608. -----------
  2609.  
  2610. Fixes bugs:
  2611.     - Some compilers won't accept '\l', even in the false arm of a
  2612. preprocessor conditional.  (scanchar.h)
  2613.     - A procedure was declared with an incorrect argument type.
  2614. (zcsindex.c)
  2615.     - The scaled font cache didn't copy XUIDs properly.  (bfont.h,
  2616. zfont.c, zfont2.c)
  2617.  
  2618. Streams
  2619. -------
  2620.  
  2621. Fixes bugs:
  2622.     - The LZW filters were factored improperly.  (modules.lis, gs.mak,
  2623. vms.mak, slzwx.h, slzwc.c, slzwd.c)
  2624.  
  2625. Changes the DCTDecode filter for compatibility with Adobe implementations:
  2626.     - Ignore bytes preceding the 0xff that marks the beginning of the
  2627. JPEG data.  (sdctd.c)
  2628.     - Set MAX_BLOCKS_IN_MCU to 64.  (jpeg.mak, gsjpglib.h)
  2629.  
  2630. Library
  2631. -------
  2632.  
  2633. Fixes bugs:
  2634.     - The "two-phase commit" for device parameters wasn't fully
  2635. implemented.  (gsiodev.c)
  2636.     - Asking for a device color map before the device was opened could
  2637. cause a crash.  (gsdparam.c)
  2638.     - The scaled font cache didn't copy XUIDs properly.  (gxfont.h,
  2639. gsfont.c)
  2640.     - 90 or 270 degree rotated black-and-white bitmaps (including
  2641. bitmapped fonts such as downloaded TrueType fonts) with an inverted device Y
  2642. axis were displaced in Y.  (gsimage1.c)
  2643.     - On high-resolution devices, parts of regions filled with halftones
  2644. could fail to be painted.  (gxclist.c)
  2645.  
  2646. Version 3.31 (4/2/95)
  2647. ============
  2648.  
  2649. A few final bug fixes for the release.  Includes significant speed
  2650. improvements for CIE color, and a first draft of a low-level CGM driver.
  2651.  
  2652. Documentation
  2653. -------------
  2654.  
  2655. Notes that the BJC600 driver also works for the BJC4000.  (devs.mak)
  2656.  
  2657. Procedures
  2658. ----------
  2659.  
  2660. At the suggestion of a user, changes the default protections for installed
  2661. files on Unix and DV/X systems from 775/664 to 755/644.  (*head.mak)
  2662.  
  2663. At the suggestion of a user, adds a -dNOCIE switch to substitute DeviceGray
  2664. and DeviceRGB color spaces for CIEBasedA and CIEBasedABC spaces
  2665. respectively.  (gs_init.ps, gs_lev2.ps)
  2666.  
  2667. Utilities
  2668. ---------
  2669.  
  2670. Changes gslp and its relatives to use ISOLatin1Encoding for output, and to
  2671. send almost all printout to stderr rather than stdout (for use as a filter
  2672. under Unix).  (gslp.ps)
  2673.  
  2674. Drivers
  2675. -------
  2676.  
  2677. Fixes bugs:
  2678.     - The fax/TIFF driver no longer exported gdev_fax_print_page, which
  2679. the DigiFax driver needs.  (gdevtfax.c)
  2680.     - The color DeskJet drivers gave an error for BitsPerPixel=3.
  2681. (gdevcdj.c)
  2682.     - The "Windows printer" driver was setting its margins in points
  2683. rather than inches.  (gdevwprn.c)
  2684.     - The BJ10 and BJ200 drivers calculated vertical skip distances
  2685. wrong.  (gdevbj10.c)
  2686.     - The BJ10 and BJ200 drivers output two garbage bytes following the
  2687. initialization string.  (gdevbj10.c)
  2688.  
  2689. Adds a preliminary driver that produces low-level CGM output.  (gdevcgml.h,
  2690. gdevcgmx.h, gdevcgm.c, gdevcgml.c)
  2691.  
  2692. Platforms
  2693. ---------
  2694.  
  2695. Fixes bugs:
  2696.     - The VMS files had gotten out of sync with the other makefiles
  2697. (again).  (modules.lis, vms.mak)
  2698.     - The MS Windows and OS/2-PM drivers hadn't been updated to handle
  2699. BitsPerPixel as a standard parameter.  (gdevmswn.c, gdevpm.c)
  2700.  
  2701. Removes the TIFF drivers from the Windows platform, and restores the BMP
  2702. drivers.  (bcwin.mak)
  2703.  
  2704. Interpreter
  2705. -----------
  2706.  
  2707. Fixes bugs:
  2708.     - The CIE color mapping cache could produce anomalous results
  2709. for the default (all zero values) color if some of the mapping
  2710. functions were non-linear.  (zcie.c)
  2711.     - MultiMaster font substitution got confused if substituted
  2712. fonts had their FontName changed.  (gs_fonts.ps)
  2713.     - A procedure was declared as private inconsistently.  (zdevcal.c)
  2714.     - Some pointer relocation procedures didn't work correctly on
  2715. systems with sizeof(T *) > sizeof(int).  (istack.c)
  2716.     - The freelist vector wasn't large enough to handle graphics state
  2717. objects on 64-bit systems, leading to severe memory sandbars.  (iastate.h)
  2718.     - The debugging messages from the allocator had gotten inconsistent
  2719. and hard to use.  (ialloc.c)
  2720.     - Mixing save/restore with allocation could cause the GC never to
  2721. get run.  (isave.c)
  2722.  
  2723. Speeds up the mapping of CIE colors.  (zcie.c)
  2724.  
  2725. Adds a .namestring operator for getting the string of a name without having
  2726. to copy it.  (zstring.c)
  2727.  
  2728. Streams
  2729. -------
  2730.  
  2731. Fixes bugs:
  2732.     - The IJG code needed a couple more flags set for IJG v6.
  2733. (gsjmorec.h)
  2734.     - Some pointer relocation procedures didn't work correctly on
  2735. systems with sizeof(T *) > sizeof(int).  (stream.c)
  2736.  
  2737. Library
  2738. -------
  2739.  
  2740. Fixes bugs:
  2741.     - The end-test for the fast case of monobit images was wrong,
  2742. leading to out-of-range memory accesses.  (gsimage1.c)
  2743.     - Monobit images rotated by 270 degrees displayed incorrectly.
  2744. (gsimage1.c)
  2745.     - If a Type 1 font used hint replacement, some parts of the outline
  2746. before the hint replacement ignored the old hints.  (gstype1.c)
  2747.     - Some compilers didn't accept a variable name that was the same as
  2748. a macro with parameters.  (gxht.c)
  2749.     - A procedure was declared as private inconsistently.  (gdevm1.c)
  2750.     - Some pointer relocation procedures didn't work correctly on
  2751. systems with sizeof(T *) > sizeof(int).  (gdevmem.c, gsstate.c)
  2752.     - The test on FORCE_HINTS_TO_BIG_PIXELS was backwards.  This bug was
  2753. supposed to have been fixed in 3.30, but somehow the fix got lost.
  2754. (gstype1.c)
  2755.     - 90 degree rotated monobit images could drop some scan lines.
  2756. (gsimage*.c)
  2757.  
  2758. Speeds up the mapping of CIE colors.  (gscie.h, gxcmap.h, gscie.c, gxcmap.c)
  2759.  
  2760. Speeds up color images (non-interpolated, 1-8 bits per component) by adding
  2761. a cache for mapped color values.  (gximage.h, gsimage.c, gsimage1.c,
  2762. gsimage2.c)
  2763.  
  2764. Shrinks the band list file slightly by using only as many bytes as necessary
  2765. for writing out colors, rather than always using 4 bytes.  (gxclist.c,
  2766. gxclread.c)
  2767.  
  2768. Version 3.30(beta) (3/21/95)
  2769. ==================
  2770.  
  2771. More bug fixes.  The garbage collector and PDF interpreter finally appear to
  2772. work reliably.
  2773.  
  2774. Documentation
  2775. -------------
  2776.  
  2777. Fixes bugs:
  2778.     - language.doc had gotten out of date.  (language.doc)
  2779.  
  2780. Utilities
  2781. ---------
  2782.  
  2783. Fixes bugs:
  2784.     - Changes in the handling of %stdout had broken ps2ascii.
  2785. (gs_dps1.ps, ps2ascii.ps)
  2786.  
  2787. Improves ps2ascii to skip empty strings and not output redundant font
  2788. changes.  (ps2ascii.ps)
  2789.  
  2790. Drivers
  2791. -------
  2792.  
  2793. Fixes bugs:
  2794.     - The fax and TIFF drivers didn't free all their working storage.
  2795. (This bug was fixed in 3.27, and the fix somehow got lost.)  (gdevtfax.c)
  2796.  
  2797. Adds new drivers:
  2798.     - sgirgb, to produce SGI RGB raster files.  (gdevsgi.c)
  2799.     - tiffcrle, to produce output in TIFF "CCITT 1-dimensional Huffman
  2800. RLE" format (Group 3 fax with no EOLs). (gdevtfax.c)
  2801.     - tifflzw, to produce output in TIFF LZW format (using the existing
  2802. CCITTFaxEncode filter code). (gdevtfax.c)
  2803.     - tiffpack, to produce output in TIFF PackBits format. (gdevtfax.c)
  2804.  
  2805. Interpreter (PostScript)
  2806. ------------------------
  2807.  
  2808. Fixes bugs:
  2809.     - If the current screen was set with a halftone, setcolorscreen
  2810. wouldn't accept what currentcolorscreen returned.  (gs_dps1.ps)
  2811.     - debug_print_full_ref didn't print t_oparray objects correctly.
  2812. (idebug.c)
  2813.     - The internal data for a font could be allocated in a different VM
  2814. space from the font dictionary, causing dangling pointers.  (zfont2.c)
  2815.     - definefont became confused if a program failed to delete the FID
  2816. from a re-encoded font.  (This is questionable PostScript, but dvips does
  2817. it.)  (zfont2.c)
  2818.     - If a BuildChar procedure did a save before the setcachedevice and
  2819. a restore afterwards, the memory manager would attempt to free the cache
  2820. device after it had already been freed by the restore, leading to damaged
  2821. freelists.  (gschar.c)
  2822.     - setresolution (in statusdict) was ignored.  (gs_lev2.ps,
  2823. gs_statd.ps)
  2824.     - If a string containing a string containing a \ was passed to the
  2825. token operator, the \ was not recognized properly in a Level 2 environment.
  2826. (iscan.c)
  2827.     - A couple of default dictionary sizes had become too small.
  2828. (iinit.c)
  2829.  
  2830. Makes DOS EOF (control-Z, 0x1a) a self-delimiting token, like left bracket.
  2831. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, but it should not have any adverse
  2832. effects.  (gs_init.ps, iscan.c, iscantab.c)
  2833.  
  2834. Distinguishes arch_small_memory from arch_ints_are_short, and adds a new
  2835. -Z. switch to force small-memory table sizes regardless of actual memory
  2836. size.  (dstack.h, idict.c, zpcolor.c, zvmem2.c)
  2837.  
  2838. Interpreter (PDF)
  2839. -----------------
  2840.  
  2841. Fixes bugs:
  2842.     - A page with no Contents caused an error.  (pdf_main.ps)
  2843.     - Executing a Form resource caused an error.  (pdf_draw.ps)
  2844.     - Outlines with open entries caused an error.  (pdf_main.ps)
  2845.     - Embedded Type 3 fonts caused an error.  (pdf_draw.ps, pdf_font.ps)
  2846.     - The Widths array of fonts was ignored.  (pdf_font.ps)
  2847.  
  2848. Library
  2849. -------
  2850.  
  2851. Fixes bugs:
  2852.     - Freeing an entry in the pattern cache didn't clear the pointers to
  2853. the raster data, producing a dangling reference that confused the garbage
  2854. collector.  (gxpcmap.c)
  2855.     - The test on FORCE_HINTS_TO_BIG_PIXELS was backwards.  (gstype1.c)
  2856.     - The pattern cache bookkeeping was incorrect.  (gxpcmap.c)
  2857.     - Depending on the order in which pointers were relocated, the
  2858. garbage collector could incorrectly relocate pointers from the character
  2859. cache.  (gxfcache.h, gsfont.c, gxccache.c, gxccman.c)
  2860.  
  2861. Changes the fast case of black-and-white images so it aligns scaled images
  2862. with the device coordinate system, to improve performance.  (gsimage1.c)
  2863.  
  2864. Extends the coordinate transformation routines to handle absurdly large
  2865. translation values in the CTM as long as the final device device coordinates
  2866. are within fixed-point range.  (gxmatrix.h, gxpath.h, gschar.c, gscoord.c,
  2867. gsmatrix.c, gxhint2.c, gxpath2.c)
  2868.  
  2869. Distinguishes arch_small_memory from arch_ints_are_short, and adds a new
  2870. -Z. switch to force small-memory table sizes regardless of actual memory
  2871. size.  (gdevprn.h, gxpcolor.h, gzht.h, std.h, gsfont.c, gsht1.c, gspaint.c,
  2872. gsstate.c, gxcht.c, gxht.c, gxpcmap.c)
  2873.  
  2874. Version 3.29(internal) (3/8/95)
  2875. ======================
  2876.  
  2877. Another bug-fix release.  This release processes all but 7 of the 500+ files
  2878. on the Adobe Acrobat Sampler CD-ROM without giving an error.  The garbage
  2879. collector finally appears to be stable.  This version was created for a
  2880. customer; it was not released to the general public or even to the beta test
  2881. list.
  2882.  
  2883. Documentation
  2884. -------------
  2885.  
  2886. Documents the possible need to set LD_RUN_PATH on SVR4 platforms.
  2887. (make.doc)
  2888.  
  2889. Expands the description of the device life cycle, and of the constraints on
  2890. put_params procedures.  (drivers.doc)
  2891.  
  2892. Adds an explicit copyright notice to the Aladdin Ghostscript Free Public
  2893. License.  (PUBLIC)
  2894.  
  2895. Clarifies that the Win32s documentation also applies to Windows NT.
  2896. (make.doc)
  2897.  
  2898. Procedures
  2899. ----------
  2900.  
  2901. Removes the obsolete writeppmfile operator from the standard configurations.
  2902. (gs.mak)
  2903.  
  2904. Changes the Watcom makefiles to work properly with Watcom C/C++ 10.0.
  2905. (make.doc, msc.mak, watc.mak, watcwin.mak, wccommon.mak)
  2906.  
  2907. Utilities
  2908. ---------
  2909.  
  2910. Adds a wftopfa utility for converting the Wadalab fonts to usable Type 0 and
  2911. Type 1 form.  (wftopfa)
  2912.  
  2913. Fonts
  2914. -----
  2915.  
  2916. Fixes bugs:
  2917.     - Entries added automatically by definefont (FontInfo, ExactSize)
  2918. could cause a font dictionary to become full.  (gs_fonts.ps, gs_type1.ps)
  2919.     - wrfont.ps couldn't deal with very long CharStrings.  (wrfont.ps)
  2920.  
  2921. Makes the name of the Fontmap file an easily editable parameter.
  2922. (gs_fonts.ps)
  2923.  
  2924. Adds a utility for converting the Wadalab font to usable Type 0 and Type 1
  2925. form.  (wrfont.ps, wftopfa.ps)
  2926.  
  2927. Drivers
  2928. -------
  2929.  
  2930. Fixes bugs:
  2931.     - The top margin for printer (and fax) devices was computed
  2932. incorrectly, using the X resolution rather than the Y resolution.
  2933. (gdevprn.h)
  2934.     - Changing the page size or resolution of a printer device closed
  2935. and reopened the device unnecessarily.  (gdevprn.c)
  2936.     - Changing the page size of the X11 device didn't change the initial
  2937. matrix, so (0,0) didn't wind up in the lower left corner.  (gdevx.c)
  2938.     - The bit devices didn't allow changing the number of bits per
  2939. pixel.  (gdevbit.c)
  2940.  
  2941. Adds a settable .IsPageDevice boolean device parameter to the X Windows
  2942. driver.  The default value is true.  (gdevx.h, gdevx.c)
  2943.  
  2944. Changes the PPM driver so that it chooses between PBM/PGM/PPM on a
  2945. page-by-page basis, rather retaining the most general format ever required
  2946. by any page.  (gdevpbm.c)
  2947.  
  2948. Interpreter (PostScript)
  2949. ------------------------
  2950.  
  2951. Fixes bugs:
  2952.     - The current page device could be null, rather than an empty
  2953. dictionary.  (igstate.h, zchar.c, zdevice.c, zdevice2.c, zgstate.c)
  2954.     - The scanner didn't signal an error for names or strings that were
  2955. too long.  (iscan.c)
  2956.     - A missing header file upset the VAX compilers.  (ztype.c)
  2957.     - Some places expecting dictionary operands didn't check the type,
  2958. because they incorrectly assumed that the dict_check_read/write macro did
  2959. this.  (idict.h, zdevice2.c, zht2.c, zmisc2.c)
  2960.     - The definition of quit in systemdict wasn't disabled within
  2961. encapsulated jobs.  (gs_lev2.ps)
  2962.     - resetfile gave an error if the file was closed, rather than doing
  2963. nothing.  (zfileio.c)
  2964.     - The scanner attempted to free an uninitialized pointer if it
  2965. reached EOF after a / or //.  (iscan.c)
  2966.     - A restore in a different file than the corresponding save caused
  2967. an invalidrestore error.  (gs_init.ps)
  2968.     - The default value of EndOfData in RunLengthDecode streams was set
  2969. to false.  (zfilter.c)
  2970.     - .registerencoding didn't invoke the save machinery correctly,
  2971. leading to GC problems.  (zfont2.c)
  2972.     - The facility for overriding .printerror didn't work correctly.
  2973. (gs_init.ps)
  2974.     - gs_run_file_open wasn't public.  (gsmain.c)
  2975.     - The interpreter returned e_undefined for undefined error names,
  2976. rather than the error code.  (interp.c)
  2977.     - Allocation in system memory (specifically, adding a block to a
  2978. stack) couldn't trigger automatic garbage collection.  (interp.c, igc.c,
  2979. zvmem2.c)
  2980.     - A restore in a different invocation of gs_run_string than the
  2981. corresponding save would stop reading the string.  (files.h, gsmain.c,
  2982. iccinit.c, zfile.c)
  2983.     - The Type 1 rasterizer state included a pointer into the middle of
  2984. an object, confusing the garbage collector.  (zchar1.c, zfont1.c)
  2985.     - When the garbage collector deleted a name, it didn't zero out the
  2986. string pointer.  (iname.c)
  2987.     - On platforms where obj_align_mod > 4, the memory manager could
  2988. access 1 beyond the end of its freelists.  (iastate.h)
  2989.     - makefont and scalefont didn't check the type of their font operand
  2990. soon enough.  (zfont.c)
  2991.     - restore didn't finalize the objects it freed.  (isave.c)
  2992.     - restore didn't free system VM.  (isave.c)
  2993.     - Freeing a ref array that occupied an entire chunk didn't free the
  2994. chunk.  (ialloc.c)
  2995.  
  2996. Adds a .runexec operator which implements the 'close if error' function of
  2997. run.  (zfile.c, zfileio.c)
  2998.  
  2999. Moves the obsolete writeppmfile operator into a separate file.  (zfileio.c,
  3000. zwppm.c)
  3001.  
  3002. Makes the statistics returned by the memory manager more accurate.
  3003. (ialloc.c, zvmem.c)
  3004.  
  3005. Adds a (read-only) %Calendar% IODevice.  (zdevcal.c)
  3006.  
  3007. Adds a "hook" in the character operators to allow external code to
  3008. intervene; this is needed for a customer.  (ichar.h, zchar.c, zchar2.c)
  3009.  
  3010. Makes control-D (0x04) a self-delimiting token, like left bracket.  THIS IS
  3011. A NON-BACKWARD-COMPATIBLE CHANGE, but it should not have any adverse
  3012. effects.  (scanchar.h, iscan.c, iscantab.c)
  3013.  
  3014. Changes the error stack printout so that it puts line breaks between items
  3015. iff the items are being printed with ==.  (gs_init.ps)
  3016.  
  3017. Uses finalization to close streams being freed.  (igc.c, zfile.c, ziodev.c)
  3018.  
  3019. Interpreter (PDF)
  3020. -----------------
  3021.  
  3022. Fixes bugs:
  3023.     - Embedded Type 1 fonts that invoked save and restore while being
  3024. read caused an error.  (pdf_font.ps)
  3025.     - Large files that referenced a non-alphabetic font for the first
  3026. time late in the file could cause an error.  (pdf_main.ps)
  3027.  
  3028. Streams
  3029. -------
  3030.  
  3031. Fixes bugs:
  3032.     - SubFileDecode streams didn't copy partial matches of the EOD
  3033. string into their output.  (sfilter1.c)
  3034.  
  3035. Makes switching between read and write modes a stream procedure.  (stream.h,
  3036. sfile.c, sfileno.c, stream.c, zfileio.c)
  3037.  
  3038. Makes file streams close themselves when finalized.  (We can't do this for
  3039. other streams, because finalization procedures aren't allowed to free
  3040. storage explicitly.)  (stream.h, sfile.c, sfileno.c, stream.c)
  3041.  
  3042. Library
  3043. -------
  3044.  
  3045. Fixes bugs:
  3046.     - The obsolete files gcdefs.h and gsfile.c were still included in
  3047. the fileset.
  3048.     - A number of places didn't deal with null patterns properly (p_tile
  3049. == 0).  (gxdcolor.h, gspcolor.c, gxpcmap.c)
  3050.     - The pattern tiling algorithm was numerically unstable, especially
  3051. if the X/YStep vectors were close to the axes.  (gxcolor2.h, gspcolor.c,
  3052. gxpcmap.c)
  3053.     - setdeviceparams checked the values of read-only byte array
  3054. parameters incorrectly.  (gsdparam.c)
  3055.     - The statistics macros in gxfill.c didn't use DO_NOTHING when
  3056. disabled.  (gxfill.c)
  3057.     - Changing the orientation of a device closed and reopened the
  3058. device unnecessarily.  (gsdparam.c)
  3059.     - ioerrors occurring when writing command lists weren't reported
  3060. properly.  (gxclist.h, gxclist.c)
  3061.     - Errors from device procedures weren't always propagated up to
  3062. clients.  (gsimage1.c, gsimage3.c, gxclip2.c, gxclist.c)
  3063.     - Overflowing the fixed-point translation values in the CTM caused a
  3064. floating point exception rather than a limitcheck.  (gxmatrix.h, gscoord.c)
  3065.     - charpath set the current point correctly, but didn't append a
  3066. moveto element to the path.  (This mostly affected Mathematica output.)
  3067. (gzpath.h)
  3068.     - Image devices mapped colors incorrectly.  (gdevmem.c, gdevm16.c)
  3069.     - On devices with color capability but fewer than 4 bits per pixel,
  3070. color halftones didn't work (and could cause an arithmetic exception).
  3071. (gxdither.c)
  3072.     - Black-on-white memory devices didn't map colors properly.
  3073. (gdevprn.h, gxdevice.h, gxdevmem.h, gdevmem.c, gdevm1.c, gsdevice.c)
  3074.     - Memory devices with a non-zero origin in their initial matrix
  3075. clipped the image improperly.  (gsdevice.c)
  3076.     - The Type 1 rasterizer state included a pointer into the middle of
  3077. an object, confusing the garbage collector.  (gstype1.h, gxfont1.h,
  3078. gxtype1.h, gstype1.c, gxhint2.c)
  3079.     - The band rasterizer could produce garbled output for images
  3080. (including characters) on 64-bit architectures.  (gxclread.c)
  3081.     - Bounding boxes (for pathbbox and setbbox) could be slightly
  3082. inaccurate.  (gsmatrix.c)
  3083.     - On 64-bit architectures, halftone tiles less than 16 bits wide
  3084. were handled incorrectly.  (gxclist.c)
  3085.  
  3086. Adds an .IsPageDevice boolean device parameter (normally read-only).
  3087. (gsdparam.c)
  3088.  
  3089. Removes the library code for implementing the obsolete writeppmfile
  3090. operator.  (gswppm.c)
  3091.  
  3092. Makes the default matrix (for initmatrix and defaultmatrix) a settable
  3093. parameter in the graphics state.  (gscoord.h, gzstate.h, gscoord.c,
  3094. gsdevice.c, gsdparam.c)
  3095.  
  3096. Makes the statistics returned by the memory manager more accurate.
  3097. (gsmemory.h)
  3098.  
  3099. Adds a compile-time flag to choose whether or not to force Type 1 hints to
  3100. "big pixel" boundaries when oversampling.  (gstype1.c)
  3101.  
  3102. Changes the .PageCount device parameter back to PageCount, because the
  3103. change broke some scripts.  (gsdparam.c)
  3104.  
  3105. Adds optimization for 90 degree rotated images with pure colors.
  3106. (gximage.h, gsimage.c, gsimage1.c)
  3107.  
  3108. Changes the band rasterizer so that replicated halftone tiles are written on
  3109. the band list in unreplicated form.  (gsbitops.h, gxcldev.h, gsbitops.c,
  3110. gxclist.c, gxclread.c, gxht.c)
  3111.  
  3112. Changes the .HWBitsPerPixel device parameter to BitsPerPixel.  (drivers.doc,
  3113. language.doc, gdevcdj.c, gdevstc.c, gsdparam.c)
  3114.  
  3115. Version 3.28(beta) (2/13/95)
  3116. ==================
  3117.  
  3118. Another bug-fix beta release.  The number of bugs being fixed in each of
  3119. these sub-releases does exceed the number of new bugs introduced, but the
  3120. latter number is discouragingly high.
  3121.  
  3122. Documentation
  3123. -------------
  3124.  
  3125. Adds some information about handling VMS file attributes for files
  3126. transferred by FTP.  (use.doc)
  3127.  
  3128. Procedures
  3129. ----------
  3130.  
  3131. Fixes bugs:
  3132.     - unix-gcc.mak said the static linkage switch for SunOS was -Bstatic
  3133. rather than -static.  (unix-gcc.mak)
  3134.     - Some dependency lists in gs.mak were out of date.  (gs.mak)
  3135.  
  3136. Utilities
  3137. ---------
  3138.  
  3139. Fixes bugs:
  3140.     - markhint.ps didn't check for protected fonts.  (markhint.ps)
  3141.  
  3142. Drivers
  3143. -------
  3144.  
  3145. Fixes bugs:
  3146.     - The cdj driver had a byte/char agreement problem.  (gdevcdj.c)
  3147.     - The cdj driver attempted to initialize a dynamic array.
  3148. (gdevcdj.c)
  3149.  
  3150. Removes the setting of InputAttributes and OutputAttributes from the H-P
  3151. drivers, since this causes more problems than it solves.  (gdevdjet.c)
  3152.  
  3153. Interpreter
  3154. -----------
  3155.  
  3156. Fixes bugs:
  3157.     - makeoperator assigned incorrect attributes to operators. (bug
  3158. introduced in 3.27) (opdef.h, iinit.c, iutil.c, zmisc.c)
  3159.  
  3160. Library
  3161. -------
  3162.  
  3163. Fixes bugs:
  3164.     - gs_makeimagedevice didn't set the caller's pointer to the newly
  3165. created device.  (bug introduced in 3.27) (gsdevice.c)
  3166.     - There were still some mismatches between char * and byte * values.
  3167. (gsdparam.c)
  3168.     - The halftone replication algorithm could produce inappropriately
  3169. large replicated masks.  (gxht.c)
  3170.     - stroke usually did the wrong thing for degenerate (single-point)
  3171. subpaths.  (gxstroke.c)
  3172.  
  3173. Version 3.27(beta)(withdrawn) (2/8/95)
  3174. =============================
  3175.  
  3176. Yet another bug-fix beta release.  This release had so many serious problems
  3177. (the most serious being at least one changed file that the release tool
  3178. failed to include in the fileset) that it was withdrawn less than a day
  3179. after it was issued.
  3180.  
  3181. Documentation
  3182. -------------
  3183.  
  3184. Fixes bugs:
  3185.     - The NEWS for 3.26 didn't mention the fact that the stdxxx stream
  3186. interface used by MS Windows, OS/2, and Macintosh implementations had
  3187. changed.  (NEWS)
  3188.     - The file public.doc wasn't distributed with the previous fileset.
  3189.  
  3190. Brings the NeXTSTEP documentation up to date for NeXTSTEP releases 3.2 and
  3191. subsequent.  (make.doc)
  3192.  
  3193. Procedures
  3194. ----------
  3195.  
  3196. Fixes bugs:
  3197.     - Some dependency lists in gs.mak were out of date.  (gs.mak)
  3198.     - A 'fi;' was missing in the Unix install script.  (unix-end.mak)
  3199.     - There was no VMS build script for the PDF options.  (vms.mak)
  3200.     - The VMS script used CC_QUALI instead of CC_QUAL in several places.
  3201. (vms.mak)
  3202.  
  3203. Utilities
  3204. ---------
  3205.  
  3206. Fixes bugs:
  3207.     - ps2epsi's usage prompt referred to "pstoepsi".  (ps2epsi)
  3208.     - ps2epsi set PATH and LOCALPATH unilaterally.  (ps2epsi)
  3209.  
  3210. Comments out the sample usage line at the end of viewjpeg.ps.  (viewjpeg.ps)
  3211.  
  3212. Drivers
  3213. -------
  3214.  
  3215. Fixes bugs:
  3216.     - The fax and tiff drivers didn't free all of their working storage.
  3217. (gdevtfax.c)
  3218.  
  3219. Adds user-contributed drivers for the BJC 600 and ESC/P printers.
  3220. (devs.mak, gdevcdj.c)
  3221.  
  3222. Platforms
  3223. ---------
  3224.  
  3225. Fixes bugs:
  3226.     - Some necessary casts of string parameters to (const byte *) were
  3227. omitted.  (gp_mswin.c, gp_os2.c)
  3228.  
  3229. Adds the psmono and bit* drivers, and removes the p*m drivers, in the OS/2,
  3230. 32-bit MS-DOS, and 32-bit Windows configurations.  (bcwin32.mak, os2.mak,
  3231. watc.mak)
  3232.  
  3233. Fonts
  3234. -----
  3235.  
  3236. Fixes bugs:
  3237.     - The Fontmap for Ultrix had somehow become slightly incorrect.
  3238. (Fontmap.Ult)
  3239.  
  3240. Removes the font file names from the dependency lists in cfonts.mak.  This
  3241. makes cfonts.mak readily usable with any set of fonts, but it also means
  3242. that it will always run font2c, rather than being able to avoid this if the
  3243. .c file is up to date.  (cfonts.mak)
  3244.  
  3245. Interpreter
  3246. -----------
  3247.  
  3248. Fixes bugs:
  3249.     - Some operators could fail if the stdxxx streams weren't currently
  3250. open.  (files.h, zfileio.c, ziodev.c)
  3251.     - setpagedevice didn't handle unrecognized keys properly.
  3252. (gs_setpd.ps)
  3253.     - The value returned for the HWColorMap device parameter was
  3254. allocated incorrectly, confusing the garbage collector.  (iparam.c)
  3255.     - Typing ahead at the >>showpage<< prompt no longer caused all
  3256. further pages to be processed without stopping.  (gs_init.ps)
  3257.     - Setting DEVICEWIDTHPOINTS or DEVICEHEIGHTPOINTS on the command
  3258. line caused a typecheck.  (gs_init.ps)
  3259.     - The garbage collector didn't handle halftone threshold arrays
  3260. properly.  (zht2.c)
  3261.     - setdefaulttimeouts caused an error on Level 2 systems.
  3262. (gs_lev2.ps)
  3263.     - cvi and cvr weren't equivalent to token followed by a type check.
  3264. (iscan.h, iscannum.h, iscan.c, iscannum.c, ztoken.c, ztype.c)
  3265.     - In Level 2 systems, image and colorimage didn't allow 12 bits per
  3266. sample.  (zpaint.c)
  3267.     - If debugging was enabled, the garbage collector printed spurious
  3268. error messages about the allocator objects not being in a chunk.  (ialloc.c)
  3269.     - restore didn't reset the count of operator procedures, so the
  3270. operator procedure table could fill up.  Fixing this required splitting the
  3271. op_array_table into a global table and a local table.  (opdef.h, iinit.c,
  3272. iutil.c, zmisc.c)
  3273.     - .forgetsave could leave a dangling pointer in the memory manager,
  3274. causing an access error.  (ialloc.c, isave.c)
  3275.     - Freed objects weren't always marked as freed, which could confuse
  3276. the memory validator.  (ialloc.c)
  3277.     - .forgetsave didn't mark inner chunk headers as free, leading to
  3278. access errors.  (isave.c)
  3279.  
  3280. Changes the representation of operator procedures so that they point
  3281. directly to their definition in the op_array_table.  (iref.h, opdef.h,
  3282. idebug.c, igc.c, igcref.c, interp.c, zmisc.c)
  3283.  
  3284. Removes .makeglobaloperator.  (zmisc.c)
  3285.  
  3286. Adds patches to discard some common garbage produced by H-P-oriented
  3287. applications and drivers.  (gs_init.ps)
  3288.  
  3289. Changes the >>showpage<< prompt so that if the input reaches EOF, the
  3290. interpreter still stops after the next >>showpage<<, rather than processing
  3291. all subsequent pages.  This is a consequence of the bug fix that
  3292. automatically reopens the stdxxx files.
  3293.  
  3294. Adds an optional dictionary parameter for the RunLengthEncode/Decode
  3295. filters, to allow specifying EndOfData.  The default is true.  (zfilter.c)
  3296.  
  3297. Adds ByteTranslateEncode/Decode filters.  (zfilter2.c)
  3298.  
  3299. Streams
  3300. -------
  3301.  
  3302. Fixes bugs:
  3303.     - The K > 0 option of the CCITTFaxDecode filter switched back to 2-D
  3304. encoding if an output buffer boundary fell in the middle of a 1-D line, and
  3305. signalled an error if an input buffer boundary fell in the middle of an EOL.
  3306. (scfd.c)
  3307.  
  3308. Adds an EndOfData flag to the RunLengthEncode/Decode filters.  If true, RLE
  3309. generates 128 as EOD, and RLD recognizes it; if false, RLE does not mark
  3310. EOD, and RLD ignores 128.  (srlx.h, gxclist.c, gxclread.c, sfilter1.c)
  3311.  
  3312. Adds ByteTranslateEncode/Decode streams.  (sbtx.h, sfilter2.c)
  3313.  
  3314. Library
  3315. -------
  3316.  
  3317. Fixes bugs:
  3318.     - There were some mismatches between char * and byte * values.
  3319. (gsdparam.c)
  3320.     - Failure to round a scaling coordinate caused one-for-one
  3321. black-and-white images to render slower than they should.  (gsimage.c)
  3322.     - Setting PageSize without setting HWResolution could cause an
  3323. invalid memory access.  (gsdparam.c)
  3324.     - The garbage collector didn't handle halftone threshold arrays
  3325. properly.  (gxht.h, gsht.c, gsht1.c)
  3326.  
  3327. Version 3.26(beta) (2/1/95)
  3328. ==================
  3329.  
  3330. Yet another bug-fix beta release, still not ready for public release.
  3331.  
  3332. Documentation
  3333. -------------
  3334.  
  3335. Fixes bugs:
  3336.     - The description of device properties had gotten out of sync with
  3337. the code.  (language.doc)
  3338.  
  3339. Splits off documentation specific to the Aladdin (non-GNU) release into a
  3340. separate file.  (readme, public.doc, unix-end.mak)
  3341.  
  3342. Adds a pointer to a collection of other free fonts (including some Cyrillic
  3343. ones) available on the net.  (public.doc)
  3344.  
  3345. Procedures
  3346. ----------
  3347.  
  3348. Fixes bugs:
  3349.     - On VMS systems with both VAX C and DEC C installed, the build script
  3350. used VAX C rather than DEC C.  (vms.mak)
  3351.     - zfdecode.c didn't have a build rule.  (gs.mak)
  3352.     - Several macros in the makefile were used before they were defined.
  3353. (gs.mak)
  3354.     - Several macros in the makefile were used without being defined.
  3355. (gs.mak)
  3356.  
  3357. Replaces the gssetdev, gssetmod, and gsaddmod scripts with more variants of
  3358. echogs.  (echogs.c, gs.mak)
  3359.  
  3360. Utilities
  3361. ---------
  3362.  
  3363. Fixes bugs:
  3364.     - The ps2ascii shell script passed a -f flag to the shell, which not
  3365. all shells recognize.  (ps2ascii)
  3366.  
  3367. Drivers
  3368. -------
  3369.  
  3370. Fixes bugs:
  3371.     - Due to a typo in an initialization string, the H-P printers didn't
  3372. reset the top margin to zero.  (gdevdjet.c)
  3373.  
  3374. Adds InputAttributes and OutputAttributes entries to the H-P drivers.  (This
  3375. should probably be generic to all printers.)  (gdevdjet.c)
  3376.  
  3377. Replaces the contributed Epson Stylus Color driver with a newer version.
  3378. (devices.doc, gdevstc.c)
  3379.  
  3380. Platforms
  3381. ---------
  3382.  
  3383. Fixes bugs:
  3384.     - DEC C complained about 'abs' and 'exit' not being declared.  (x_.h)
  3385.     - gp_mswin.c and gp_os2.c wouldn't compile.  (gp_mswin.c, gp_os2.c,
  3386. ziodev.c)
  3387.  
  3388. Interpreter
  3389. -----------
  3390.  
  3391. Fixes bugs:
  3392.     - The default CIE rendering dictionary gave everything a magenta tint.
  3393. (gs_lev2.ps)
  3394.     - Changing HWResolution and PageSize in the same call of
  3395. setpagedevice produced an incorrect HWSize.  (gsdparam.c)
  3396.     - .putdeviceparams didn't accept all the keys that .getdeviceparams
  3397. returned.  (gsdparam.c)
  3398.     - The default handler for interrupt and timeout errors didn't push a
  3399. current object (command) on the stack.  (gs_init.ps)
  3400.     - The garbage collector didn't handle strings larger than 64K
  3401. properly.  (iastate.h, ialloc.c, igcstr.c)
  3402.  
  3403. Adds media matching and Policy consultation to the implementation of
  3404. setpagedevice.  (gs_setpd.ps)
  3405.  
  3406. Adds a MaxGlobalVM system parameter.  (zmisc2.c)
  3407.  
  3408. Streams
  3409. -------
  3410.  
  3411. Fixes bugs:
  3412.     - The CCITTFaxEncode filter could access a byte beyond the end of
  3413. the allocated area.  (scfe.c)
  3414.     - The CCITTFaxDecode filter could get an ioerror if a buffer
  3415. boundary fell in exactly the wrong place.  (scfd.c)
  3416.  
  3417. Library
  3418. -------
  3419.  
  3420. Fixes bugs:
  3421.     - The garbage collector didn't trace colored halftones properly.
  3422. (gzht.h)
  3423.     - The garbage collector didn't relocate the bitmap pointers in
  3424. halftone caches properly.  (gzht.h, gxht.c)
  3425.  
  3426. Adds the ability to transmit dictionaries through the param_list mechanism
  3427. (specifically, as device parameters).  This change is
  3428. non-backward-compatible only for implementors of parameter lists, which only
  3429. exist within the Ghostscript core.  (gsparam.h, iparam.h, iparam.c)
  3430.  
  3431. Removes the InitialMatrix device property.  (gsdparam.c)
  3432.  
  3433. Version 3.25(beta) (1/24/95)
  3434. ==================
  3435.  
  3436. Yet another bug-fix beta release.  There are still at least half a dozen
  3437. significant known bugs to be fixed before a public release.
  3438.  
  3439. Documentation
  3440. -------------
  3441.  
  3442. Notes that on Unix systems, one should not edit 'makefile', but should edit
  3443. the individual subfile and run tar_cat.  THIS IS A NON-BACKWARD-COMPATIBLE
  3444. CHANGE.  (make.doc)
  3445.  
  3446. Adds information on the Macintosh implementation.  (readme)
  3447.  
  3448. Procedures
  3449. ----------
  3450.  
  3451. Fixes bugs:
  3452.     - make clean failed on Unix systems where rm -f requires at least one
  3453. file name.  (gs.mak)
  3454.     - math_.h was omitted from many dependency lists.  (gs.mak)
  3455.  
  3456. Drivers
  3457. -------
  3458.  
  3459. Fixes bugs:
  3460.     - The X Windows and MS Windows draw-line routines couldn't possibly
  3461. produce sufficiently correct output (since the interface only provides integer
  3462. coordinates).  (gdevx.c, gdevwddb.c)
  3463.  
  3464. In response to patent-related actions by Unisys and CompuServe, removes the
  3465. GIF driver.  (*.mak)
  3466.  
  3467. Changes dci_std_color (and std_device_std_color_* and prn_device_std_*) so
  3468. that if the number of bits per pixel is 32, the device is defined as CMYK
  3469. rather than RGB.  (gxdevice.h)
  3470.  
  3471. Removes the tseng8 device, which is no longer useful.  (devs.mak, gdevsvga.c)
  3472.  
  3473. Adds pseudo-alpha support to the SVGA drivers, via the TextAlphaBits and
  3474. GraphicsAlphaBits device parameters.  (gdevsvga.h, gdevsvga.c)
  3475.  
  3476. Adds a user-contributed driver for the Epson Stylus Color printer.  (devs.mak,
  3477. gdevstc.c, devices.doc)
  3478.  
  3479. Platforms
  3480. ---------
  3481.  
  3482. Fixes bugs:
  3483.     - The VMS build scripts had gotten out of sync (again).  (vms*.mak)
  3484.  
  3485. Interpreter
  3486. -----------
  3487.  
  3488. Fixes bugs:
  3489.     - The emulator name array was incorrectly declared const in one place.
  3490. (gs.c)
  3491.     - A closed file could incorrectly appear to be 'eq' to another file
  3492. (open or closed).  (iutil.c)
  3493.     - If %stdin/%stdout/%stderr was ever closed, it couldn't be
  3494. reopened.  (gs_btokn.ps, gs_init.ps, files.h, zfile.c, zfileio.c, zfilter.c,
  3495. zfproc.c, ziodev.c)
  3496.  
  3497. Changes (almost) all the operator routines to 'static'.  (z*.c)
  3498.  
  3499. Library
  3500. -------
  3501.  
  3502. Fixes bugs:
  3503.     - The raster value for replicated tiles in the halftone cache was
  3504. incorrect, causing unaligned memory accesses.  (gxht.c)
  3505.     - stroke and strokepath could produce slightly inaccurate output
  3506. (leading to slight visible anomalies) as a result of stroke adjustment.
  3507. (gxstroke.c)
  3508.     - Attempting to draw an arc with zero radius could cause a numeric
  3509. exception.  (gspath1.c)
  3510.     - Setting the Orientation of a device to null resulted in actually
  3511. setting it to a random value.  (gsdparam.c)
  3512.     - charpath, stringwidth, and cshow attempted to remap the current
  3513. color unnecessarily.  (gschar.c)
  3514.  
  3515. Adds the ability to trace calls on the sqrt function (and possibly other math
  3516. functions in the future.)  (math_.h, gsmisc.c)
  3517.  
  3518. Adds additional interrupt checks in the banding code.  (gxclist.c, gxclread.c)
  3519.  
  3520. Version 3.24(beta) (1/17/95)
  3521. ==================
  3522.  
  3523. This was supposed to be a public release, but too many bugs showed up in 3.23,
  3524. so this is another bug-fix beta release.  This is the first release with a
  3525. working PDF reader.
  3526.  
  3527. Documentation
  3528. -------------
  3529.  
  3530. Notes that Solaris requires using installbsd instead of install.  (make.doc)
  3531.  
  3532. Procedures
  3533. ----------
  3534.  
  3535. Changes 'make mostlyclean' so that it doesn't delete the Ghostscript
  3536. executable (but deletes everything else that 'make clean' does).  (gs.mak)
  3537.  
  3538. Changes the link list generator so it eliminates duplicate library requests.
  3539. (genconf.c)
  3540.  
  3541. Factors the interpreter further so as to include less unnecessary PostScript
  3542. support in the PDF interpreter.  (gs.mak, zpath.c, zpath1.c)
  3543.  
  3544. Adds a printout of the available language interpreters to the -h message.
  3545. (genconf.c, gs.c, iinit.c, gs.mak)
  3546.  
  3547. Drivers
  3548. -------
  3549.  
  3550. Fixes bugs:
  3551.     - The alternate X drivers used a cast in an initializer, causing a
  3552. compilation error on some platforms.  (gdevxalt.c)
  3553.  
  3554. Adds a driver for the LaserJet IIID, including duplex printing if specified by
  3555. the Duplex page device parameter.  (gdevdjet.c)
  3556.  
  3557. Adds Orientation to the bit device.  (gdevbit.c)
  3558.  
  3559. Platforms
  3560. ---------
  3561.  
  3562. Fixes bugs:
  3563.     - There was an extraneous pfen-> in the NT file system module, causing
  3564. a compilation error.  (gp_ntfs.c)
  3565.     - The DLL code referred to an obsolete symbol a_foreign.  (gsdll.c)
  3566.     - The VMS build scripts omitted the LaserJet 4 driver.  (vms-*.mak)
  3567.     - The VMS build scripts had several other minor errors.  (vms.mak)
  3568.  
  3569. Fonts
  3570. -----
  3571.  
  3572. Fixes bugs:
  3573.     - Defining a font alias in global VM with a name that was a string in
  3574. local VM caused an error.  (gs_fonts.ps)
  3575.     - The font compiler referred to an obsolete symbol a_foreign.
  3576. (font2c.ps)
  3577.  
  3578. Interpreter
  3579. -----------
  3580.  
  3581. Fixes bugs:
  3582.     - There was an extraneous '#' before an extern declaration.
  3583. (gsmain.c)
  3584.     - The interpreter could (incorrectly) attempt to expand the e-stack.
  3585. (istack.h, interp.c, istack.c)
  3586.     - zfproc.c called memcpy but didn't include memory_.h.  (zfproc.c)
  3587.     - A garbage collection occurring within a 'save' would often smash
  3588. memory.  (igc.c)
  3589.     - If the last character returned by the procedure of a procedure-based
  3590. filter was \r, readline could get an endless loop.  (zfileio.c)
  3591.     - Saving a change to a ref member of a structure confused the garbage
  3592. collector.  (isave.h, isave.c, zdict.c)
  3593.     - The -Zu debugging printout could cause an access error under rare
  3594. circumstances.  (isave.c)
  3595.     - Save objects could get allocated in global VM, causing dangling
  3596. references.  (zvmem.c)
  3597.     - The vmsave object created by the interpreter for a save didn't get
  3598. freed properly if the memory manager created an invisible save level, which
  3599. could cause the next garbage collection to crash.  (zvmem.c)
  3600.     - 'run' always printed an error message, rather than letting the
  3601. top-level control loop do it.  (gs.c, gs_init.ps)
  3602.  
  3603. Adds support for duplex devices.  (gxdevice.h, gsdparam.c, gs_statd.ps,
  3604. gs_setpd.ps)
  3605.  
  3606. Adds the beginnings of support for CID-keyed fonts.  (gs_cidfn.ps)
  3607.  
  3608. Changes the format of the stack dump printed for errors, to make it easier to
  3609. read.  (gs_init.ps)
  3610.  
  3611. Interpreter (PostScript)
  3612. ------------------------
  3613.  
  3614. Fixes bugs:
  3615.     - The .local/global allocation operators always allocated in system
  3616. VM.  (zsysvm.c)
  3617.     - setpage[params] caused an error.  (gs_lev2.ps)
  3618.     - If an error occurred during a cshow or (x|y|xy)show, the interpreter
  3619. freed the enumerator twice.  (zchar.c, zchar2.c)
  3620.  
  3621. Changes setpageparams so that orientation = 0 means portrait.  This is not
  3622. compatible with AGFA's convention for roll-feed devices, but it is compatible
  3623. with the more common cut-sheet printers.  (gs_statd.ps)
  3624.  
  3625. Adds meaningful values for the Emulator resource.  (gsmain.c, gs_res.ps)
  3626.  
  3627. Makes -Z? validate the state of memory before and after save and restore.
  3628. (ialloc.h, igc.h, ialloc.c, igc.c, ilocate.c, zvmem.c)
  3629.  
  3630. Interpreter (PDF)
  3631. -----------------
  3632.  
  3633. Fixes bugs:
  3634.     - The Unix install script didn't install the PDF files if they were
  3635. present.  (unix-end.mak)
  3636.     - PDF to PostScript conversion didn't work at all.  (It still doesn't
  3637. work very well.)  (pdf_2ps.ps, pdf_main.ps)
  3638.     - Images with an Indexed color space and no Decode entry caused an
  3639. error.  (pdf_draw.ps)
  3640.     - The 'Page <n>' messages were printed even if QUIET was set.
  3641. (pdf_main.ps)
  3642.  
  3643. Changes the interpreter so that when it encounters an unknown operator, it
  3644. prints an error message and continues, rather than signalling an error.
  3645. (pdf_base.ps)
  3646.  
  3647. Makes F a synonym for f if there is nothing on the operand stack, to
  3648. compensate for a bug in some Adobe software.  (pdf_base.ps)
  3649.  
  3650. Changes pdfgetpage so it uses 1-origin rather than 0-origin indexing.  THIS IS
  3651. A NON-BACKWARD-COMPATIBLE CHANGE.  (pdf_main.ps)
  3652.  
  3653. Streams
  3654. -------
  3655.  
  3656. Fixes bugs:
  3657.     - The Group 3 2-D and Group 4 encoders produced incorrect output if a
  3658. scan line beginning with a black pixel was followed by a scan line beginning
  3659. with a white pixel.  (scfe.c)
  3660.     - A SubFileDecode filter with a count of 1 and a non-empty EOD string
  3661. would smash memory.  (sfilter1.c)
  3662.  
  3663. Updates the DCT filters so they will work with the latest version (5a) of the
  3664. IJG library.  (*.mak, jpeg.mak, sjpegerr.c)
  3665.  
  3666. Library
  3667. -------
  3668.  
  3669. Fixes bugs:
  3670.     - A call with integer parameters to a procedure with floating point
  3671. arguments didn't work on non-ANSI compilers.  (gsimage.c)
  3672.     - Arcs could get turned into polygons if the scaling values in the CTM
  3673. were very large and the radius was (in user space coordinates) very small.
  3674. (gspath.c)
  3675.     - The current point was defined when a BuildChar procedure was called.
  3676. (This bug was documented as fixed in version 2.2!)  (gschar.c)
  3677.  
  3678. Adds support for Orientation and Duplex page device parameters, for those
  3679. devices that support these.  (gdevprn.h, gxdevice.h, gsdevice.c, gsdparam.c)
  3680.  
  3681. Version 3.23(beta) (1/5/95)
  3682. ==================
  3683.  
  3684. This is almost entirely a bug fix release.  It also includes a largely working
  3685. PDF reader.  This is intended as the beta test release for the next public
  3686. release.
  3687.  
  3688. Documentation
  3689. -------------
  3690.  
  3691. Fixes bugs:
  3692.     - COPYLEFT, COPYING, NEWS, PUBLIC, README, and the standard Fontmap
  3693. were omitted from the 3.22 fileset.
  3694.  
  3695. Documents the use of the -oldc switch to work around a compiler crash on
  3696. the DECstation.
  3697.  
  3698. Expands and clarifies the documentation for building the DesqView/X version
  3699. with djgcc.  (make.doc)
  3700.  
  3701. Adds documentation on the "600x300" H-P inkjet printers, explaining why
  3702. this alleged higher resolution is not available.  (devices.doc)
  3703.  
  3704. Adds to the PUBLIC license a warning that it is not a GNU License, and a
  3705. requirement to include a copy of or a pointer to the License in any written
  3706. material.  (PUBLIC)
  3707.  
  3708. Documents the fact that Ghostscript *does* attempt to look up files in the
  3709. current directory first.  (use.doc)
  3710.  
  3711. Procedures
  3712. ----------
  3713.  
  3714. Fixes bugs:
  3715.     - In VMS.MAK, .JPEG should have been changed to .JPEG-5 in a few
  3716. places.  (vms.mak)
  3717.  
  3718. Adds the pjxl300 driver to all configurations that include the other color
  3719. DeskJet drivers.  Replaces pjet and pjetxl with pj and pjxl.  (*.mak)
  3720.  
  3721. Makes 'run' recognize PDF files if the PDF reader is included.
  3722. (pdf_main.ps)
  3723.  
  3724. Utilities
  3725. ---------
  3726.  
  3727. Fixes bugs:
  3728.     - viewjpeg.ps needed the test for languagelevel = 2 at the
  3729. beginning of the file.  (viewjpeg.ps)
  3730.     - prfont.ps used 'min', which isn't a standard PostScript operator.
  3731. (prfont.ps)
  3732.     - prfont.ps created Encoding vectors that weren't 256 elements
  3733. long.  (prfont.ps)
  3734.  
  3735. Adds the gsdj500 script to the installation list.  (unix-end.mak)
  3736.  
  3737. Changes the Unix "line printer" shell scripts to add the date to the page
  3738. header.  (gsbj, gsdj, gsdj500, gslj)
  3739.  
  3740. Changes ansi2knr so that it will work properly on systems where the ctype
  3741. macros don't handle 8-bit characters correctly.  (ansi2knr.c)
  3742.  
  3743. Drivers
  3744. -------
  3745.  
  3746. Fixes bugs:
  3747.     - Some compilers don't allow casts in initialization expressions.
  3748. (gdevx.c, gdevxalt.c)
  3749.     - The cdj drivers didn't initialize the color_info structure
  3750. properly.  (gdevcdj.c)
  3751.  
  3752. Adds another alternate X Windows driver, x11mono, that is a black-and-white
  3753. device.  (devs.mak, gdevxalt.c)
  3754.  
  3755. Adds a user-contributed driver for the Apple Imagewriter LQ.  (devs.mak,
  3756. gdevadmp.c)
  3757.  
  3758. Platforms
  3759. ---------
  3760.  
  3761. Fixes bugs:
  3762.     - The VMS MODULES.LIS file had gotten out of sync with the makefile
  3763. (again); GDEVABUF and GSBITOPS were missing.  (modules.lis)
  3764.     - The VMS script file had gotten out of sync with the makefile
  3765. (again).  (vms.mak)
  3766.     - The MS Windows platform code didn't recognize Windows 95 (Windows
  3767. 4.0) as equivalent to Windows NT.  (gp_mswin.c)
  3768.     - File name enumeration didn't work on OS/2 or win32.  (gp_ntfs.c,
  3769. gp_os2.c)
  3770.     - -sOutputFile= didn't work under MS Windows.  (gp_mswin.c)
  3771.  
  3772. Changes the SCO Unix direct frame buffer driver so it generates in-line
  3773. instructions to access the frame buffer, for a dramatic speed improvement.
  3774. (gdevpcfb.h, gdevsco.c)
  3775.  
  3776. Fonts
  3777. -----
  3778.  
  3779. Fixes bugs:
  3780.     - If a font couldn't be found in the Fontmap, a recursion loop
  3781. sometimes occurred.  (gs_fonts.ps)
  3782.     - Aliases for global fonts weren't automatically created as global,
  3783. possibly leading to a recursion loop.  (gs_dps1.ps, gs_fonts.ps)
  3784.     - If a font was loaded into global VM within an inner save, the restore
  3785. deleted it from FontDirectory but not from SharedFontDirectory, causing a
  3786. possible recursion loop.  (gs_dps1.ps, gs_fonts.ps, idict.h, idict.c, zdict.c)
  3787.  
  3788. Further improves the algorithm for substituting for unknown fonts.
  3789. (gs_fonts.ps)
  3790.  
  3791. Interpreter (PostScript)
  3792. ------------------------
  3793.  
  3794. Fixes bugs:
  3795.     - zcontrol.c had an assignment of const char * to const byte *,
  3796. which some compilers don't like.  (zcontrol.c)
  3797.     - Setting an Indexed color space based on a CIE space caused an
  3798. attempt to free a random block of memory.  (zcsindex.c)
  3799.     - Some compilers don't like mixing conditionals and casts in
  3800. initialization expressions.  (iref.h)
  3801.     - Some calculations of table sizes for string garbage collection
  3802. didn't work if sizeof(long) != 4, leading to smashed strings.  (iastate.h,
  3803. ialloc.c, igcstr.c)
  3804.     - Strings longer than about 7000 bytes smashed their chunk header
  3805. and confused the garbage collector.  (ialloc.c)
  3806.     - Some compilers needed iccfont.c to include strimpl.h.
  3807. (iccfont.c)
  3808.     - The obsolete file zcspace2.c was still included in the fileset.
  3809.     - If the command line included any @-files that required searching
  3810. the library path, a limitcheck would occur.  (zfile.c)
  3811.     - The insideness testing operators caused a memory access error,
  3812. because the procedure vector hadn't been updated to provide a default
  3813. get_alpha_bits procedure.  (zupath.c)
  3814.     - gcheck didn't check for stack underflow.  (zvmem2.c)
  3815.     - cleardictstack could fail to clear the dictionary stack if the
  3816. stack had overflowed into additional blocks.  (zdict.c)
  3817.     - If the '-' switch was selected, resources weren't released
  3818. properly on exit.  (gs.c)
  3819.     - Setting a Pattern color space based on a CIE space caused an
  3820. invalid memory access.  (zcsindex.c)
  3821.     - The garbage collector didn't treat refs properly on machines with
  3822. short ints.  (igcref.c)
  3823.     - Operators with more than 16 arguments could break the
  3824. interpreter.  (interp.h, iinit.c, interp.c)
  3825.     - save/restore didn't restore the setting of the current allocator
  3826. VM (local/global).  (isstate.h, isave.c)
  3827.     - stdpre.h declared exit as an extern, instead of letting gsmain.c
  3828. declare it.  (stdpre.h, gsmain.c)
  3829.     - gs.c used fputs to print help messages rather than fprintf.
  3830. (gs.c)
  3831.     - Interrupts failed to re-execute the operation that was
  3832. interrupted.  (interp.c)
  3833.     - Low-resolution CMYK devices didn't use separate screens for each
  3834. color plane as the default.  (gs_init.ps)
  3835.     - filterdict wasn't getting undef'ed at the end of initialization.
  3836. (gs_init.ps)
  3837.     - gstate operations were broken (bug introduced in 3.02).
  3838. (zdevice2.c)
  3839.     - resourceforall didn't remove the resource dictionary from the
  3840. dictionary stack when calling the client-supplied procedure.  (gs_res.ps)
  3841.     - currentcolor with an Indexed color space returned a real rather
  3842. than an integer.  (zcolor2.c)
  3843.     - setshared / setglobal left the stack in an unobvious state if
  3844. they were given a non-Boolean argument.  (gs_dps1.ps)
  3845.     - sethalftone followed by currenthalftone returned an invalid value.
  3846. (zht2.c)
  3847.     - Empty strings produced spurious garbage collector error messages.
  3848. (gsstruct.h, scommon.h, igc.c, igcstr.c, iname.c)
  3849.     - The garbage collector didn't trace Separation color spaces properly.
  3850. (gscsepr.c)
  3851.  
  3852. Changes defineresource so that it does not, by default, make instances
  3853. read-only.  (gs_res.ps)
  3854.  
  3855. Adds .{local,global}{array,dict,packedarray,string} operators for creating
  3856. objects in a specific VM space.  (zsysvm.c, gs_dps1.ps)
  3857.  
  3858. Adds definitions of setpage and setpageparams to statusdict.  (gs_setpd.ps,
  3859. gs_statd.ps)
  3860.  
  3861. Alleviates some performance problems in the garbage collector.  (igc.c)
  3862.  
  3863. Interpreter (PDF)
  3864. -----------------
  3865.  
  3866. Fixes bugs:
  3867.     - PDF files that used filters with parameters caused a typecheck
  3868. error because the arguments to 'filter' were reversed.  (pdf_base.ps)
  3869.     - The (undocumented) PDF 1.1 ability to specify link and annotation
  3870. destinations indirectly was not supported.  (pdf_main.ps)
  3871.     - The (undocumented) PDF ability to specify a null page in a link
  3872. destination was not supported.  (pdf_main.ps)
  3873.     - The PDF encodings weren't loaded properly in a system with both
  3874. PS Level 2 and PDF features.  (gs_res.ps, gs_init.ps)
  3875.     - If the next line after a stream keyword was blank, the line
  3876. wasn't skipped, which matters for binary data.  (pdf_base.ps)
  3877.     - A Q operator with no matching q operator caused an error.
  3878. (pdf_draw.ps)
  3879.     - The text position wasn't preserved across a fill or stroke
  3880. operator.  (gs_pdf.ps, pdf_draw.ps)
  3881.     - Embedded Type 3 fonts didn't work.  (pdf_base.ps, pdf_draw.ps,
  3882. pdf_main.ps)
  3883.     - Masked images with no Decode value had their polarity inverted.
  3884. (pdf_draw.ps)
  3885.     - Embedded Type 1 fonts referenced from within a stream didn't
  3886. work.  (pdf_font.ps)
  3887.  
  3888. Changes the PDF code so that it automatically recognizes PDF files as such.
  3889. (pdf_main.ps)
  3890.  
  3891. Splits out the PixelDifference filters as a separate "feature".  (gs.mak)
  3892.  
  3893. Streams
  3894. -------
  3895.  
  3896. Fixes bugs:
  3897.     - Closing the primary input stream caused an invalid memory access.
  3898. (stream.c)
  3899.     - Increasing the size of a buffer within a save resulted in a
  3900. dangling reference after the restore.  (files.h, sfilter.h, zfile.c,
  3901. zfilter.c)
  3902.     - The garbage collector didn't properly trace streams that referenced
  3903. strings directly.  (stream.h, stream.c, ziodev.c)
  3904.  
  3905. Library
  3906. -------
  3907.  
  3908. Fixes bugs:
  3909.     - An extraneous \ upset some compilers.  (gdevabuf.c)
  3910.     - Uncolored Patterns that completely filled their bounding box
  3911. caused an invalid memory access.  (gspcolor.c)
  3912.     - If a color image required clipping, black or white pixels might
  3913. be rendered with incorrect (random) colors.  (gxcpath.c)
  3914.     - Reference counts for color spaces were sometimes set too high, so
  3915. they would only be freed by restore or garbage collection.  (gscolor.c)
  3916.     - The character cache could get confused if the Encoding for the
  3917. character wasn't a name.  (gschar.c)
  3918.     - Character outlines were always rendered with flatness = 0,
  3919. causing very bad performance for large characters.  (gzstate.h, gschar.c,
  3920. gsimage.c, gxfill.c, gxstroke.c)
  3921.     - If a device (presumably uninitialized) had a
  3922. color_info.num_components of zero, an invalid memory access could occur.
  3923. (gsdparam.c)
  3924.     - Intersecting clipping paths that are not both rectangular didn't
  3925. properly set the outer box of new clipping path, leading to unnecessary
  3926. computation.  (gxcpath.h, gxacpath.c, gxcpath.c)
  3927.     - A call passed false instead of NULL.  (gschar.c)
  3928.     - On machines where sizeof returns a long, genarch.c failed.
  3929. (genarch.c)
  3930.     - xfonts were consulted, incorrectly, even for stroked characters.
  3931. (gxccman.c)
  3932.     - gstate/currentgstate/setgstate didn't work properly.  (gsline.c,
  3933. gsstate.c)
  3934.     - On CMYK devices needing halftoning, colors with C = M = Y were
  3935. always converted to gray shades.  (gxcmap.c)
  3936.     - Isolated horizontal lines, or the horizontal edges of rectangles,
  3937. could get drawn with one or both end pixels missing.  (gxfill.c)
  3938.  
  3939. Changes the character cache back so it oversamples characters at small
  3940. sizes.  (gschar.c)
  3941.  
  3942. Changes all occurrences of (void)x to discard(x), and defines discard in
  3943. stdpre.h as a cast to void, to make it possible to pacify compilers that
  3944. don't accept this construct for some kinds of x.  (gpcheck.h, stdpre.h,
  3945. store.h, gdevmswn.c, gp_mswin.c, gscoord.c, gxclread.c, igc.c, sfile.c,
  3946. sfileno.c, zcie.c, zht2.c, ziodev.c, zmisc1.c)
  3947.  
  3948. Increases the size of the halftone cache on large-memory machines from 35K
  3949. to 100K.  This substantially improves halftoning performance at higher
  3950. resolutions.  (gxht.c)
  3951.  
  3952. Version 3.22(beta) (11/30/94)
  3953. ==================
  3954.  
  3955. This is primarily a bug fix release.  It also includes limited anti-aliased
  3956. graphics capability.  This release was not distributed to the public.
  3957.  
  3958. Procedures
  3959. ----------
  3960.  
  3961. Fixes bugs:
  3962.     - The definition of ghost_h was misplaced, so changes in it or its
  3963. antecedents didn't force recompilation of its dependents.  (gs.mak)
  3964.  
  3965. Actually implements the -Z+ switch, for forcing small stack blocks.
  3966. (interp.c)
  3967.  
  3968. Makes the -dSAFER switch disable the %pipe syntax for file names, even for
  3969. reading.  (gs_init.ps)
  3970.  
  3971. Drivers
  3972. -------
  3973.  
  3974. Fixes bugs:
  3975.     - The dfax drivers incorrectly set EncodedByteAlign to false.
  3976. (gdevdfax.c)
  3977.     - softwareValue and dateTimeValue were declared as byte rather than
  3978. char.  (gdevtfax.c)
  3979.  
  3980. Platforms
  3981. ---------
  3982.  
  3983. Fixes bugs:
  3984.     - The VMS DEC C compilers declare delete in unixio.h, and doesn't
  3985. declare unlink anywhere.  (stdio_.h)
  3986.     - The VMS compilers declare malloc and free in stdlib.h, which
  3987. wasn't being included in malloc_.h.  (malloc_.h)
  3988.     - The SCO Unix C compiler needs both <sys/time.h> and <time.h>.
  3989. (time_.h)
  3990.     - The VMS compilers declare abs in stdlib.h, which wasn't being
  3991. included anywhere.  (gshtscr.c)
  3992.     - The definition for A4 paper in VMS-AXP.MAK was incorrect.
  3993. (vms-axp.mak)
  3994.  
  3995. Renames VMS-AXP.MAK as VMS-DECC.MAK, with some changes that make it
  3996. appropriate for DEC C on both VAX and AXP platforms.  (vms-axp.mak =>
  3997. vms.decc.mak)
  3998.  
  3999. Fonts
  4000. -----
  4001.  
  4002. Fixes bugs:
  4003.     - gs_kanji.ps got an invalidaccess error.  (gs_kanji.ps)
  4004.  
  4005. Interpreter
  4006. -----------
  4007.  
  4008. Fixes bugs:
  4009.     - An off-by-1 test in the roll operator caused it to smash the
  4010. stack if the operand stack had overflowed into additional blocks.
  4011. (zstack.c)
  4012.     - The default CIE color rendering dictionary didn't assume a
  4013. reasonable intermediate (XYZ) space.  (gs_lev2.ps)
  4014.     - CIE color mapping tables weren't traced properly by the garbage
  4015. collector.  (gscie.h, gscie.c, zcie.c)
  4016.     - If the very last character of a file was a ^M, the scanner
  4017. (incorrectly) signaled a syntaxerror.  (iscan.c)
  4018.     - If an operator could return both a typecheck and a
  4019. stackunderflow, it always returned a stackunderflow, which doesn't match
  4020. the behavior of Adobe interpreters.  (opcheck.h, idparam.c, interp.c,
  4021. iutil.c, z*.c)
  4022.     - astore, dictstack, and execstack could return a spurious
  4023. invalidaccess error (or fail to detect an invalid access) if the operand
  4024. stack had overflowed into additional blocks.  (istack.c)
  4025.     - The garbage collector didn't relocate pointers to names!  (Bug
  4026. introduced in 3.20.)  (iname.h)
  4027.     - If the dictionary stack overflowed into additional blocks, the
  4028. cached value pointer for a name could get set incorrectly, and also not get
  4029. relocated by the garbage collector.  (idict.c)
  4030.     - If the dictionary stack overflowed into additional blocks, the
  4031. post-GC fixup of cached value pointers in names could cause an addressing
  4032. error.  (igc.c)
  4033.     - With the -Z? switch set, the garbage collector could incorrectly
  4034. report that objects or strings weren't in any chunk.  (igc.c)
  4035.     - << /a 1 /a 2 >> /a get gave the value 2 rather than 1.
  4036. (gs_init.ps)
  4037.     - Numbers in binary object sequences and encoded number arrays
  4038. didn't work properly on machines where sizeof(short) != 2 or sizeof(long)
  4039. != 4.  (ibnum.c)
  4040.     - The put operator for dictionaries allowed null as a key.
  4041. (idict.h, idict.c)
  4042.     - >> didn't give an error if there were an odd number of values on
  4043. the stack above the next mark.  (gs_init.ps)
  4044.     - Operations that explicitly freed ref objects (setting a CIE
  4045. colorspace, resizing a dictionary, popping a block off a stack) could
  4046. corrupt storage.  (ialloc.c)
  4047.     - The -Z@ switch, which fills freed blocks with a recognizable bit
  4048. pattern, could incorrectly overwrite freed blocks in previous save levels,
  4049. causing invalid memory accesses.  (ialloc.c)
  4050.     - Since streams freed by a restore weren't marked as free, they
  4051. could confuse the garbage collector and lead to invalid memory accesses.
  4052. (zfile.c)
  4053.     - If one of the built-in dictionaries overflowed during
  4054. initialization, no error was reported -- entries were simply discarded.
  4055. (iinit.c)
  4056.     - If the level2.dev feature was combined with certain other
  4057. features, the current languagelevel was 2 when some gs_*.ps files were
  4058. loaded, causing them to load incorrectly.  (gs_btokn.ps, gs_setpd.ps)
  4059.     - If readline read a line that ended with only a CR (no LF)
  4060. followed by an end-of-file, it incorrectly closed the stream.  (zfileio.c)
  4061.  
  4062. Adds a .cond operator, similar to the Lisp multi-arm conditional.
  4063. (zcontrol.c)
  4064.  
  4065. Adds a .makeglobaloperator operator, allowing the definition of operator
  4066. procedures in local VM that turn into global operators, provided the save
  4067. level is zero.  (iref.h, opdef.h, iinit.c, interp.c, zmisc.c)
  4068.  
  4069. Note: the fix for returning typecheck vs. stackunderflow requires that all
  4070. operators (or other code) that uses return_error(e_typecheck) to indicate
  4071. an incorrect object type on the operand stack must change this to
  4072. return_op_typecheck(op), where op points to the operand.  THIS IS A
  4073. NON-BACKWARD-COMPATIBLE CHANGE.
  4074.  
  4075. Implements string array and name array parameters for parameter lists.
  4076. (gsparam.h, iparam.c)
  4077.  
  4078. Brings filterdict inside the INITIAL_DICTIONARIES conditional.  (iinit.c)
  4079.  
  4080. Adds a .currentscreenlevels operator that returns the number of
  4081. distinguishable halftone levels.  (zht.c)
  4082.  
  4083. Streams
  4084. -------
  4085.  
  4086. Fixes bugs:
  4087.     - The 2-D case of CCITTFaxDecode could get confused by an input
  4088. data buffer boundary that fell immediately after a horizontal code.
  4089. (scfd.c)
  4090.     - The LZW decoder didn't detect invalid data unless DEBUG was
  4091. selected at build time.  (slzwd.c)
  4092.  
  4093. Library
  4094. -------
  4095.  
  4096. Fixes bugs:
  4097.     - The clipping region accumulator could refer to a clipping
  4098. rectangle even after it had been freed.  (No effect on execution unless the
  4099. -Z@ switch was selected.)  (gxacpath.c)
  4100.     - setbbox expanded the bounding box, but didn't place a limit on
  4101. further path elements, if the current path wasn't empty.  (gsdps1.c)
  4102.     - setbbox didn't make sufficient allowance for rounding.
  4103. (gsdps1.c)
  4104.  
  4105. Implements the ProcessColorModel parameter (read-only) for all devices.
  4106. (gsdparam.c)
  4107.  
  4108. Adds a gs_currentscreenlevels procedure that returns the number of
  4109. distinguishable halftone levels.  (gsht.c)
  4110.  
  4111. Version 3.21(beta) (11/17/94)
  4112. ==================
  4113.  
  4114. This is primarily a bug fix release.  It also includes a substantial
  4115. improvement in the Type 1 font hinting algorithms.  This release was not
  4116. distributed to the public.
  4117.  
  4118. Documentation
  4119. -------------
  4120.  
  4121. Fixes bugs:
  4122.     - The `man' page referred to gnu.ghostscript.bug rather than
  4123. comp.lang.postscript.  (gs.1)
  4124.  
  4125. Documents the special entries in operator definition tables that allow
  4126. switching dictionaries.  (opdef.h)
  4127.  
  4128. Procedures
  4129. ----------
  4130.  
  4131. Moves the definition of JSRCDIR to the individual platform makefiles, to
  4132. make it easier to change on platforms that don't have file links.  (*.mak)
  4133.  
  4134. Utilities
  4135. ---------
  4136.  
  4137. Fixes bugs:
  4138.     - ansi2knr didn't recognize that a line ending with } couldn't be a
  4139. function definition.  (ansi2knr.c)
  4140.     - ps2epsi always returned an empty bounding box.  (ps2epsi,
  4141. ps2epsi.bat)
  4142.  
  4143. Drivers
  4144. -------
  4145.  
  4146. Fixes bugs:
  4147.     - The bitrgb device had an invalid depth of 3.  (gdevbit.c)
  4148.  
  4149. Replaces the color mapping code in the X driver with a much faster
  4150. algorithm, courtesy of Tim Theisen.  (gdevx.h, gdevx.c, gdevxini.c)
  4151.  
  4152. Platforms
  4153. ---------
  4154.  
  4155. Fixes bugs:
  4156.     - Two variable names were misspelled.  (gdevpm.c, gp_mswin.c)
  4157.     - It wasn't possible to compile a non-DLL configuration under OS/2.
  4158. (os2.mak)
  4159.     - Compilation under Microsoft C/C++ 8.0 gave errors.  (gp_mswin.h,
  4160. gp_mswin.c, gshtscr.c)
  4161.  
  4162. Adds some more devices to the OS/2 makefile.  (os2.mak)
  4163.  
  4164. Fonts
  4165. -----
  4166.  
  4167. Fixes bugs:
  4168.     - wrfont.ps, and hence bdftops, didn't write out the FontType or
  4169. PaintType.  (Bug introduced since 2.6.1)  (wrfont.ps)
  4170.     - wrfont.ps omitted a 'begin' and 'end', causing -! or -| to be
  4171. undefined when the font was loaded.  (Bug introduced since 2.6.1)
  4172. (wrfont.ps)
  4173.  
  4174. Interpreter
  4175. -----------
  4176.  
  4177. Fixes bugs:
  4178.     - make_tasv_old called make_tasv_new with extra arguments.
  4179. (store.h)
  4180.     - currentcacheparams only returned 2 values instead of 3.
  4181. (zfont.c)
  4182.     - ustroke popped one element too many off the stack if a matrix was
  4183. supplied.  (zupath.c)
  4184.     - inu[eo]fill popped one element too many off the stack.
  4185. (zupath.c)
  4186.     - The color rendering dictionary was initialized to null rather
  4187. than a valid dictionary.  (gs_lev2.ps)
  4188.     - An invalid IODevice resource named "9" got created.  (gs_res.ps)
  4189.     - bytesavailable often caused an error rather than returning -1.
  4190. (zfileio.c, stream.c)
  4191.     - The insideness testing operators always returned true if the
  4192. aperture was defined by a user path rather than a point.  (zupath.c)
  4193.     - If INITIAL_DICTIONARIES was defined in the makefile, the
  4194. definition of the initial_dictionaries array was missing a comma.
  4195. (iinit.c)
  4196.     - Even if userdict appeared in INITIAL_DICTIONARIES, gs_init.ps set
  4197. its maxlength to 200.  (gs_init.ps)
  4198.     - Setting a CIE color space left a garbage value on the stack.
  4199. (zcie.c)
  4200.     - If a file or filter was opened and then closed, opening a file
  4201. subsequently within a 'save' could lead to a memory access error in the
  4202. garbage collector.  (zfile.c)
  4203.     - Setting an Indexed or Separation color space could cause a crash
  4204. either in the garbage collector or when printing out the e-stack.
  4205. (icsmap.h, zcsindex.c, zcssepr.c)
  4206.     - Invoking a filter with an invalid data source or sink could cause
  4207. a memory access error (bug introduced in 3.20).  (zfilter.c)
  4208.     - Invoking stringwidth on a font whose BuildChar procedure did a
  4209. save could cause a memory manager error or infinite loop, because
  4210. stringwidth attempted to use an inapplicable shortcut.  (gschar.c)
  4211.     - The bounding box for rendering stroked Type 1 characters didn't
  4212. take square caps and miter joins into account.  (gs_type1.ps)
  4213.     - Invoking filter with DCTDecode or DCTEncode could cause an
  4214. addressing error if no dictionary argument was supplied.  (zfdctd.c,
  4215. zfdcte.c)
  4216.     - The Generic resource, the Font resource, and half a dozen
  4217. resources with no predefined instances all shared the same Instances
  4218. dictionary.  (gs_res.ps)
  4219.     - The temporary null device allocated for stringwidth was never
  4220. freed.  (gschar.h, gschar.c, zchar.c)
  4221.     - Internal operators, and structures that might be freed on stack
  4222. unwinding, could "escape" from the e-stack.  (zcontrol.c, ztype.c)
  4223.     - makefont and scalefont didn't properly handle a font whose
  4224. Encoding had been changed.  (bfont.h, zfont.c, zfont2.c)
  4225.     - Type 1 fonts with PaintType = 2 incorrectly checked for an xfont.
  4226. (gxfont.h, gschar.c, gsfont.c, zchar1.c, zfont1.c, zfont2.c)
  4227.     - Specifying a string argument with -d...=(...) or -d...=<...>
  4228. would cause an invalidaccess error.  (gs.c)
  4229.     - The environment for encapsulated jobs didn't rebind quit to stop
  4230. in userdict.  (gs_lev2.ps)
  4231.     - restore didn't deal properly with open files on the e-stack.
  4232. (zvmem.c)
  4233.     - Even with the '-' switch, Ghostscript would try to read ahead in
  4234. the input stream rather than processing input character-by-character.
  4235. (ziodev.c)
  4236.     - If an error occurred with a unreadable dictionary on any stack,
  4237. the standard error printer would get into an error loop and exit the
  4238. interpreter.  (gs_init.ps)
  4239.     - The for_roots macro in igc.c used ap rather than mem as its
  4240. second formal parameter.  (This typo had no effect on the executable
  4241. program.)  (igc.c)
  4242.     - If saving the stacks for an error caused a GC request, a value
  4243. could get stored into an improper variable on the C stack, causing havoc.
  4244. (interp.c)
  4245.     - setdash checked to make sure that the distance array had read
  4246. access; Adobe interpreters don't check this.  (zgstate.c)
  4247.     - The roots for gs_run_string and gs_interpret weren't registered
  4248. properly, which could cause a dangling reference in the case of a restore
  4249. whose save had been done earlier.  (gsmain.c, interp.c)
  4250.  
  4251. Adds an OpenOutputFile Boolean device parameter for printer devices; if
  4252. true, the device opens the OutputFile at the time the device is opened,
  4253. instead of waiting for the first showpage.  This helps with synchronization
  4254. when the OutputFile is a pipe.  (gdevprn.h, gdevprn.c)
  4255.  
  4256. Changes the BEGIN/END_OP_DEFS macros to require an explicit { and } at each
  4257. use.  (gsmain.c, interp.c, z*.c)
  4258.  
  4259. Arranges things so that the operators that the interpreter handles
  4260. specially are assigned the first N operator indices [internal change only].
  4261. (interp.h, iinit.c, interp.c)
  4262.  
  4263. Changes the operators max and min to .max and .min, to avoid conflicts with
  4264. PostScript programs that use these names for variables and also use 'bind'.
  4265. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE from programs that depend on
  4266. 'bind' binding in these operators; however, we have also defined procedures
  4267. max and min that just call the operators, which should take care of any
  4268. ordinary code.  (*.ps, zrelbit.c)
  4269.  
  4270. Streams
  4271. -------
  4272.  
  4273. Fixes bugs:
  4274.     - The pfb_state pointer in the eexecDecode filter state wasn't
  4275. marked as traceable for the garbage collector.  (sfilter.h)
  4276.     - The eexec decoding filter could access invalid memory or return
  4277. garbage under some conditions.  (Bug introduced in 3.12.)  (zmisc1.c)
  4278.     - The eexec decoding filter would incorrectly ask for more input if
  4279. the output buffer was full.  (seexec.c)
  4280.  
  4281. Library
  4282. -------
  4283.  
  4284. Fixes bugs:
  4285.     - Some compilers reserve the word 'try'.  (gshtscr.c)
  4286.     - Some compilers don't like line continuations (\) within a
  4287. preprocessor macro formal parameter list.  (gdevprn.h, gxdevice.h)
  4288.     - Memory devices created with an inverted palette (0=white,
  4289. 1=black) interchanged white and black in fill operations.  (gdevmem1.c)
  4290.     - The 'bits' variable in mem_mono_copy_mono was unused on
  4291. little-endian machines.  (gdevmem1.c)
  4292.     - Some garbage collector procedures were declared 'private'
  4293. inconsistently.  (gscie.c)
  4294.     - The new anti-aliased text capability accidentally caused all
  4295. characters to be oversampled.  (gschar.c)
  4296.     - Type 1 fonts with PaintType = 2 and StrokeWidth = 0 came out with
  4297. many pixels missing because of oversampling.  (gschar.c)
  4298.     - Type 1 font stem hints were not being processed correctly.
  4299. (gstype1.h, gxtype1.h, gstype1.c, gxhint2.c, gxhint3.c, gxpath.c)
  4300.     - The tracing message for 9/7 composite fonts incorrectly
  4301. identified them as 1/7 fonts.  (gschar0.c)
  4302.     - If a 1/7 or 9/7 composite font was a child of a non-modal font,
  4303. the font number of the child font was computed incorrectly.  (gschar0.c)
  4304.  
  4305. Splits up the various memory devices into one file per depth [internal
  4306. change only].  (gdevm*.c)
  4307.  
  4308. Version 3.20(beta) (10/31/94)
  4309. ==================
  4310.  
  4311. This version contains some support for a PDF interpreter; however, the PDF
  4312. code itself is not ready for release yet.  It also includes anti-aliased text
  4313. capability.  This release was not distributed to the public.
  4314.  
  4315. Documentation
  4316. -------------
  4317.  
  4318. Notes that the FAQ has moved to smallo.ruhr.de:pub/ghost/gs.faq.  (readme)
  4319.  
  4320. Documents various implementation limits.  (language.doc)
  4321.  
  4322. Procedures
  4323. ----------
  4324.  
  4325. Fixes bugs:
  4326.     - bcp.dev wasn't included in the list of dependencies for
  4327. level1.dev.  (gs.mak)
  4328.  
  4329. Changes the printout of version numbers so that it is always A.BC,
  4330. rather than A.B if C is zero.  (gs.c, gs_init.ps)
  4331.  
  4332. Utilities
  4333. ---------
  4334.  
  4335. Fixes bugs:
  4336.     - font2c didn't correctly handle Metrics or Metrics2 dictionaries
  4337. whose entries were arrays rather than scalars.  (font2c.ps, ccfont.h,
  4338. iccfont.c)
  4339.     - font2c didn't handle CDevProc.  (font2c.ps, ccfont.h, iccfont.c)
  4340.     - genconf could get a stack overflow on small machines.
  4341. (genconf.c)
  4342.  
  4343. Changes mergeini.ps so it can take arguments on the command line specifying
  4344. the input and output files.  (mergeini.ps)
  4345.  
  4346. Adds a gsdj500 shell script to parallel gsdj500.bat.  (gsdj500)
  4347.  
  4348. Drivers
  4349. -------
  4350.  
  4351. Fixes bugs:
  4352.     - The X driver didn't mask dynamically assigned colors properly, so
  4353. it could request the same color over and over again.  (gdevx.c)
  4354.  
  4355. Adds two alternate X Windows drivers, for helping debug drivers with other
  4356. color models:
  4357.     - x11alpha, an RGB device with 4-bit alpha capability (for
  4358.       copy_alpha only);
  4359.     - x11cmyk, a 1-bit-per-component CMYK device.
  4360. (devs.mak, gdevxalt.c)
  4361.  
  4362. Changes the left margin of the lj4dith driver to 0.26".  (gdevcdj.c)
  4363.  
  4364. Platforms
  4365. ---------
  4366.  
  4367. Fixes bugs:
  4368.     - If <sys/time.h> didn't exist, time_.h didn't always include
  4369. <time.h>.  (time_.h)
  4370.     - The OS/2 platform wouldn't compile.  (gdevpm.c)
  4371.     - The auxiliary VMS command files sometimes got blank lines
  4372. inserted when going through EOL conversion.  (vms.mak; delete gs_.com)
  4373.     - The VMS makefiles didn't include the Level 1 operators in
  4374. level1.dev.  (vms.mak)
  4375.     - The VMS gcc makefile didn't handle undefined DEVICE_DEVSn
  4376. variables properly.  (vms*.mak)
  4377.     - The VMS makefiles didn't recognize DEVICE_DEVS{1,2,5,7}.
  4378. (vms.mak)
  4379.  
  4380. At the request of a Unix expert, changes all the Unix shell scripts to use
  4381. exec gs ... "$@" rather than gs ... $*.  (gsnd, gsbj, gsdj, gslj, gslp)
  4382.  
  4383. Modifies the JPEG library so that it uses 4K less of the automatic data
  4384. segment in 16-bit environments.  (bcwin.mak, jpeg.mak, sjpeg.c, sjpegerr.c)
  4385.  
  4386. Adds the bmp drivers back into the 16-bit MS Windows executable, since they
  4387. will fit now.  (bcwin.mak)
  4388.  
  4389. Fonts
  4390. -----
  4391.  
  4392. Makes the font substitution algorithm recognize the word Roman as calling
  4393. for a serif font.  (gs_fonts.ps)
  4394.  
  4395. Interpreters
  4396. ------------
  4397.  
  4398. Fixes bugs:
  4399.     - The fix in 3.13 for the inexact function values at 0 didn't work.
  4400. (zcontrol.c)
  4401.     - Level 1 configurations referenced an undefined procedure
  4402. gs_currenthalftone.  (gsht.c, gsht1.c)
  4403.     - Specifying any device properties (including -r and -g) on the
  4404. command line caused an error.  (gs_init.ps)
  4405.     - The forward declaration of cfont_name_array_create was
  4406. incorrect.  (iccfont.c)
  4407.     - save and restore could get called before the graphics state stack
  4408. had been initialized properly.  (gs_mex_e.ps)
  4409.     - Some encodings weren't loaded properly.  (gs.mak, gs_mex_e.ps,
  4410. gs_mro_e.ps, gs_pdf_e.ps, gs_wan_e.ps)
  4411.     - Zero-height images were allowed, but zero-width images
  4412. weren't.  (zpaint.c)
  4413.     - Neither zero-width nor zero-height images popped their
  4414. arguments from the operand stack.  (zpaint.c)
  4415.     - lib_file_fopen overwrote its file name argument, causing havoc
  4416. with @-files.  (gxiodev.h, gdevpipe.c, gsiodev.c, zfile.c)
  4417.     - The garbage collector got confused if there were any arrays or
  4418. dictionaries with 8K or more elements.  (igcref.c)
  4419.     - >> could leave the stacks in a questionable state if it failed.
  4420. (gs_init.ps)
  4421.     - The Category resource category didn't implement undefineresource.
  4422. (gs_res.ps)
  4423.     - When the token operator read the last token from a string, it
  4424. left an unchanged string on the stack instead of an empty string.
  4425. (stream.c)
  4426.     - noaccess didn't give an invalidaccess error when applied to the
  4427. permanent dictionaries.  (dstack.h, idict.c, ztype.c)
  4428.     - Overflowing the exec stack wasn't handled properly.  (istack.h,
  4429. istack.c)
  4430.     - The garbage collector cleared the cached value pointers in names,
  4431. causing interpretation to slow down substantially.  (idict.c, igc.c,
  4432. iname.c)
  4433.     - 0 dict created a dictionary with a maxlength of 1.  (idict.c)
  4434.  
  4435. Changes the default size of the execution stack from 150 to 250, to match
  4436. the Adobe "typical" value.  (interp.c)
  4437.  
  4438. Moves the operator definitions out of the automatic data segment.
  4439. (opdef.h, iinit.c, z*.c)
  4440.  
  4441. Adds operators that allow creation of objects in system space:
  4442. .systemvmstring, .systemvmarray, .systemvmpackedarray, .systemvmdict,
  4443. .systemvmcheck.  (zsysvm.c)
  4444.  
  4445. Renames gcdefs.h as gscdefs.h.
  4446.  
  4447. Allocates names in system space rather than global space.  (gsmain.c)
  4448.  
  4449. Changes the memory manager so that it allows programs to create objects in
  4450. system space.  (iref.h, iutil.h, ivmspace.h, ...)
  4451.  
  4452. Changes the implementation of filters so they appear in their own
  4453. dictionary named filterdict.  (gs_init.ps, z*.c)
  4454.  
  4455. Changes the implementation of color spaces so each one has its own
  4456. setcolorspace procedure, defined in a new dictionary named
  4457. colorspacedict.  (gs_lev2.ps, z*.c)
  4458.  
  4459. Adds a new debugging switch, $, that always initializes all fields in a
  4460. ref, in order to keep Purify happy.  (store.h)
  4461.  
  4462. Library
  4463. -------
  4464.  
  4465. Fixes bugs:
  4466.     - The page size for image devices was always set to (0, 0).
  4467. (gsdevice.c)
  4468.     - The PageSize computation in gx_default_put_params could overflow
  4469. on 16-bit machines.  (gsdparam.c)
  4470.     - An omitted 'static' on an initialized array caused a compiler
  4471. error.  (gxccman.c)
  4472.     - If interpolated image rendering was requested but not
  4473. actually carried out, gs_image_cleanup could attempt to free a random
  4474. pointer.  (gsimage.c)
  4475.     - Some compilers only retain 23 characters of procedure names, but
  4476. some procedure names weren't unique in the first 23 characters.  (gscie.c,
  4477. gscolor.c, gscolor1.c, gxcmap.c)
  4478.     - The garbage collector didn't trace device colors properly.
  4479. (gxdcolor.h, gzht.h, gsimage1.c, gspcolor.c, gxcht.c, gxcmap.c, gxdraw.c,
  4480. gxht.c)
  4481.     - For CMYK devices, the transfer functions were being applied to
  4482. the CMYK values rather than the complemented RGBW values.  (gxcmap.c)
  4483.     - Memory devices used their own color mapping procedures rather
  4484. than those of the target; this could cause incorrect colors for patterns on
  4485. devices with more than 1 bit per pixel.  (gxdevmem.h, gdevmem1.c, gdevpm.c,
  4486. gdevprn.c, gdevwdib.c, gschar.c, gsdevice.c, gxccache.c, gxccman.c,
  4487. gxclip2.c, gxclread.c, gxpcmap.c)
  4488.     - The garbage collector didn't trace image enumerators properly in
  4489. the image_render_simple case.  (gsimage.c)
  4490.     - stroke produced different-looking output for thin (zero-width)
  4491. lines depending on whether or not clipping was invoked.  (gxstroke.c)
  4492.     - If a clipping list changed from multiple rectangles to a single
  4493. rectangle, it could fail to clip properly thereafter.  (gxacpath.c)
  4494.  
  4495. Adds two new device procedures: alpha_bits and copy_alpha.  This change is
  4496. backward-compatible for all existing devices.  (gdevmem.h, gxdevice.h,
  4497. gsdevice.c, gxclip2.c, gxclist.c, gxcpath.c)
  4498.  
  4499. Changes the implementation of color halftones so that, when appropriate, it
  4500. generates a single cell and uses the device tile_rectangle procedure.
  4501. (gzht.h, gsht.c, gxcht.c, gxclist.c, gxclread.c)
  4502.  
  4503. Adds partial support for the Orientation page device parameter.
  4504. (gsdevice.c)
  4505.  
  4506. Adds support for anti-aliased characters using 2 or 4 bits of alpha.
  4507. (gxfcache.h, gschar.c, gxccache.c)
  4508.  
  4509. Version 3.13(private) (10/3/94)
  4510. =====================
  4511.  
  4512. This release was created for a customer; it was not distributed to the
  4513. public.
  4514.  
  4515. Documentation
  4516. -------------
  4517.  
  4518. Notes in make.doc that the file names in the IJG archive distributed with
  4519. Ghostscript do not include the gsA.BC/ prefix.  (make.doc)
  4520.  
  4521. Adds a cross-reference to make.doc to the Watcom makefiles.  (watc.mak,
  4522. watcwin.mak, wccommon.mak)
  4523.  
  4524. Procedures
  4525. ----------
  4526.  
  4527. Fixes bugs:
  4528.     - The makefile rule for gconfig.h et al had a couple of blank lines
  4529. in the middle of it.  (gs.mak)
  4530.  
  4531. Utilities
  4532. ---------
  4533.  
  4534. Fixes bugs:
  4535.     - wrfont.ps didn't add a lenIV entry to the Private dictionary if
  4536. it was needed.  (wrfont.ps)
  4537.  
  4538. Adds a packfile.ps utility that allows compressing multiple files into a
  4539. single file for environments with very little permanent storage.
  4540. (gs_pfile.ps, packfile.ps, wrfont.ps)
  4541.  
  4542. Drivers
  4543. -------
  4544.  
  4545. Fixes bugs:
  4546.     - The {tiff,fax}{g32d,g4} devices could produce incorrect output.
  4547. See under Streams below.
  4548.     - The dfax drivers referred to the obsolete structure member
  4549. EncodedEOLAlign.  (gdevdfax.c)
  4550.  
  4551. Changes the default bit order for TIFF/F output to little-endian, which is
  4552. apparently what the majority of TIFF decoders like best.  The bit order for
  4553. the fax drivers is still big-endian.  (gdevdfax.c, gdevtfax.c)
  4554.  
  4555. Platforms
  4556. ---------
  4557.  
  4558. Fixes bugs:
  4559.     - The VMS build script used -a rather than -w for creating
  4560. gconfig_.h.  (vms.mak)
  4561.     - The VMS build script didn't create gconfigv.h.  (vms.mak)
  4562.     - The VMS Fontmap had incorrect entries for the Bitstream Charter
  4563. fonts.  (fontmap.vms)
  4564.     - The VMS MODULES.LIS file assumed the JPEG library files were in
  4565. directory JPEG rather than JPEG-5.  (modules.lis)
  4566.  
  4567. Fonts
  4568. -----
  4569.  
  4570. Fixes bugs:
  4571.     - Using DISKFONTS resulted in an invalidaccess error.
  4572. (gs_fonts.ps)
  4573.  
  4574. Interpreter
  4575. -----------
  4576.  
  4577. Fixes bugs:
  4578.     - The standard transfer function considered gray values above
  4579. roughly 0.994 equivalent to white; 0.999 is a better value.  (gs_init.ps)
  4580.     - The transfer, black generation, and undercolor removal functions
  4581. gave slightly inexact results for an input value of 0.  (zcolor.c,
  4582. zcontrol.c)
  4583.     - setpagedevice gave an /undefined error if it did not recognize a
  4584. key, rather than ignoring the key.  (zdevice.c, gs_init.ps, gs_lev2.ps,
  4585. gs_setpd.ps)
  4586.  
  4587. Changes .putdeviceparams to take an additional argument, a Boolean that
  4588. says whether or not unrecognized keys should be reported as /undefined
  4589. errors.  THIS IS A NON-BACKWARD-COMPATIBLE CHANGE; however, no user-written
  4590. code should be calling .putdeviceparams.  (zdevice.c)
  4591.  
  4592. Streams
  4593. -------
  4594.  
  4595. Fixes bugs:
  4596.     - The Group 3 2-D and Group 4 fax encoders could emit incorrect
  4597. output.  (scfe.c)
  4598.     - The algorithm for constructing optimal Huffman codes could
  4599. produce invalid codes in some rare cases.  (shcgen.c)
  4600.  
  4601. Library
  4602. -------
  4603.  
  4604. Fixes bugs:
  4605.     - Rectangles closed with lineto rather than closepath weren't
  4606. recognized as rectangles.  (This only affected performance, not
  4607. functionality.)  (gxpath2.c)
  4608.     - The xfont lookup_font procedure could get called with a matrix
  4609. whose translation components had never been initialized.  (gxccman.c)
  4610.     - Some compilers don't allow \ in the formal argument list of a
  4611. preprocessor macro.  (gdevprn.h, gxdevice.h)
  4612.  
  4613. Version 3.12 (9/29/94)
  4614. ============
  4615.  
  4616. This is another bug fix release, the first Level 2 release that we believe
  4617. is reasonably reliable.
  4618.  
  4619. Documentation
  4620. -------------
  4621.  
  4622. Adds some text warning about making copies of the makefile.  (make.doc)
  4623.  
  4624. Procedures
  4625. ----------
  4626.  
  4627. Fixes bugs:
  4628.     - There were a number of unnecessary dependencies on $(MAKEFILE) in
  4629. gs.mak, left over from before the existence of gconfigv.h.  (gs.mak)
  4630.     - JPEGSRC was defined in gs.mak rather than in jpeg.mak.  (gs.mak,
  4631. jpeg.mak)
  4632.  
  4633. Changes the version numbering scheme back to A.BC, since people seem to be
  4634. adapting to the change, and this allows using the version number directly
  4635. as a MS-DOS directory name.  (gconfig.c, gdevtfax.c, gs.c, gs_init.ps)
  4636.  
  4637. Updates the JPEG library to version 5 (official release) of the IJG code.
  4638. (jpeg/*, jpeg.mak)
  4639.  
  4640. Drivers
  4641. -------
  4642.  
  4643. Fixes bugs:
  4644.     - The TIFF/F driver put out invalid PageNumber and Software
  4645. entries.  (gdevtifs.h, gdevtfax.c)
  4646.     - The TIFF/F and fax Group 3 2-D drivers used K=3 and K=5 instead
  4647. of K=2 and K=4.  (gdevtfax.c)
  4648.     - The TIFF/F and fax Group 3 2-D drivers emitted improperly aligned
  4649. output.  (See under Streams below.)
  4650.     - The MS Windows driver didn't resize the window properly in
  4651. response to changing the device parameters.  (gdevmswn.c)
  4652.  
  4653. Because of complementary bugs in various C compilers, changes all the
  4654. non-printer devices to use a different set of macros.  (gdevmem.h,
  4655. gdevpcfb.h, gdevprn.h, gdevsvga.h, gxdevice.h, gdev{3b1, bgi, herc, l256,
  4656. pe, pm, sun, vglb, wddb, wdib, wprn, x}.c, gsdevice.c, gxacpath.c,
  4657. gxclip2.c, gxcpath.c, gxpcmap.c, zupath.c)
  4658.  
  4659. Changes the X11 driver to ignore the "margins" specified by Ghostview.
  4660. This is apparently necessary for Ghostview to handle landscape display
  4661. properly.  (gdevxini.c)
  4662.  
  4663. Adds a WindowID parameter to the X11 device, to allow setting the window
  4664. for the output.  (gdevx.h, gdevx.c, gdevxini.c)
  4665.  
  4666. Platforms
  4667. ---------
  4668.  
  4669. Fixes bugs:
  4670.     - The definition of BEGINFILES in os2.mak occurred too late in the
  4671. file to have the desired effect.  (os2.mak)
  4672.  
  4673. Interpreter
  4674. -----------
  4675.  
  4676. Fixes bugs:
  4677.     - Updating the list of allocated file objects at a restore didn't
  4678. clear the prev pointer of the new head, which could cause the garbage
  4679. collector to encounter an invalid pointer.  (Bug introduced by .forgetsave
  4680. in 3.0.3.)  (zfile.c)
  4681.  
  4682. Streams
  4683. -------
  4684.  
  4685. Fixes bugs:
  4686.     - The CCITTFaxEncode filter with K > 0 and EncodedByteAlign = true
  4687. incorrectly aligned the 1-D/2-D bit as the last bit of a byte, rather than
  4688. the first bit.  (scfx.h, scfe.c)
  4689.     - eexec could loop indefinitely under certain conditions.
  4690. (seexec.c)
  4691.     - eexec's algorithm for recognizing text vs. binary encoding didn't
  4692. work properly in some cases that don't conform to the Adobe Type 1 Font
  4693. Format documentation.  (seexec.c)
  4694.     - Closing a stream didn't clear out the strm and state pointers,
  4695. which could cause invalid accesses by the garbage collector.  (stream.c)
  4696.  
  4697. Library
  4698. -------
  4699.  
  4700. Fixes bugs:
  4701.     - fill_loop could loop indefinitely under certain conditions.
  4702. (Introduced by a bug fix in 3.1.)  (gxfill.c)
  4703.     - fill/eofill sometimes failed to paint parts of a region.
  4704. (Introduced by a bug fix in 3.1.1.)  (gxfill.c)
  4705.     - Non-convex clipping paths sometimes omitted thin horizontal
  4706. slivers of the region.  (Probably introduced by the "thin graphics" fix in
  4707. 3.1.)  (gxacpath.c)
  4708.  
  4709. Version 3.1.1 (9/25/94)
  4710. =============
  4711.  
  4712. This is primarily a bug fix release.  It was originally intended for some
  4713. commercial licensees, but beta testers found too many problems with it.
  4714.  
  4715. Documentation
  4716. -------------
  4717.  
  4718. Fixes bugs:
  4719.     - NEWS didn't indicate that there was a non-backward-compatible
  4720. change in the gx_device structure -- specifically, that l_margin,
  4721. b_margin, r_margin, and t_margin were replaced by macros named
  4722. dev_l_margin(dev), etc.  (news)
  4723.  
  4724. Describes the two-phase commit requirement for device put_params
  4725. procedures.  (drivers.doc, gsparam.h)
  4726.  
  4727. Procedures
  4728. ----------
  4729.  
  4730. Fixes bugs:
  4731.     - The new S macro in genarch.c didn't work on compilers that do
  4732. macro substitution within string constants (which is forbidden by the ANSI
  4733. standard).  (genarch.c)
  4734.  
  4735. Drivers
  4736. -------
  4737.  
  4738. Fixes bugs:
  4739.     - Driver put_params implementations didn't observe a "two-phase
  4740. commit" discipline; this could lead to the current device in the graphics
  4741. state being closed, and other inconsistencies.  (gsparam.h, gxdevice.h,
  4742. iparam.h, gdevbit.c, gdevcdj.c, gdevmswn.c, gdevpcfb.c, gdevpm.c,
  4743. gdevprn.c, gdevx.c, gsdevice.c, gsdparam.c, zdevice.c, ziodev2.c, zmisc2.c)
  4744. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE; however, it only affects
  4745. put_params implementations, of which there are few.
  4746.  
  4747. NOTE THE NON-BACKWARD-COMPATIBLE CHANGE IN THE gx_device STRUCTURE UNDER
  4748. 'Documentation' ABOVE.  (gdevescp.c, gdevsj48.c, gdevsppr.c, gdevxini.c)
  4749.  
  4750. Platforms
  4751. ---------
  4752.  
  4753. Ensures that the Unix makefiles all include all the variants of TIFF/F and
  4754. fax drivers.  (ansihead.mak, cc-head.mak, gcc-head.mak)
  4755.  
  4756. Interpreter
  4757. -----------
  4758.  
  4759. Fixes bugs:
  4760.     - Most of the contents of statusdict were missing when
  4761. running a Level 2 system in Level 1 mode.  (zmisc2.c)
  4762.  
  4763. Version 3.1 (9/20/94)
  4764. ===========
  4765.  
  4766. This release finally includes a usable subset implementation of
  4767. setpagedevice, including all the machinery needed to address the
  4768. long-standing "margins" problems.
  4769.  
  4770. Documentation
  4771. -------------
  4772.  
  4773. Fixes bugs:
  4774.     - t_oparray objects weren't identified as behaving differently
  4775. depending on whether they were marked executable.  (iref.h)
  4776.     - drivers.doc had gx_color_value instead of gx_color_index in
  4777. the description of color mapping.  (drivers.doc)
  4778.  
  4779. Updates drivers.doc to reflect the change from static_procs to
  4780. std_procs in the gx_device structure.  (drivers.doc)
  4781.  
  4782. Procedures
  4783. ----------
  4784.  
  4785. Fixes bugs:
  4786.     - The commands for building the JPEG library used rm instead
  4787. of rm -f.  (jpeg.mak)
  4788.  
  4789. Drivers
  4790. -------
  4791.  
  4792. Fixes bugs:
  4793.     - The X Windows driver hadn't been updated to reflect some
  4794. name changes in members of the gx_color_info structure.  (gdevx.h,
  4795. gdevx.c, gdevxini.c)
  4796.  
  4797. Changes all non-printer drivers so that they use the new std_device_body
  4798. macros.  (gdev*.c)
  4799.  
  4800. Adds a print_page_copies procedure for printer drivers, allowing the
  4801. driver to receive num_copies.  (gdevprn.h, gdevprn.c)
  4802.  
  4803. Interpreter
  4804. -----------
  4805.  
  4806. Fixes bugs:
  4807.     - ref_memory_enum/reloc_ptrs were declared inconsistently.
  4808. (ialloc.c)
  4809.     - If the operand of restore was invalid, the restore did
  4810. nothing, instead of giving a typecheck.  (zvmem.c)
  4811.     - In Level 2, the margins and setmargins compatibility
  4812. operators were defined incorrectly in terms of current/setpagedevice.
  4813. (gs_lev2.ps)
  4814.  
  4815. Enables .makeoperator to make local operators as well as global ones.
  4816. (opdef.h, iinit.c, zmisc.c, zpacked.c)
  4817.  
  4818. Finishes implementing the TransferFunction entry in halftone
  4819. dictionaries.  (zht1.c, zht2.c)
  4820.  
  4821. Adds .set/currentfilladjust operators for access to the fill
  4822. adjustment parameter in the graphics state.  (zgstate.h)
  4823.  
  4824. Removes the deviceinitialmatrix operator.  (zdevice.c)
  4825.  
  4826. Changes defaultmatrix from a procedure to an operator.  (zmatrix.c)
  4827.  
  4828. Sets the fill adjustment to 0.5 for high-resolution devices, effectively
  4829. implementing Adobe's any-part-of-pixel filling rule.  (gs_init.ps)
  4830.  
  4831. Implements a small but useful subset of setpagedevice.  (gs_lev2.ps)
  4832.  
  4833. Streams
  4834. -------
  4835.  
  4836. Fixes bugs:
  4837.     - The eexec decoder incorrectly concluded that its data was
  4838. in hex form if the first data character was whitespace.  (seexec.c)
  4839.  
  4840. Library
  4841. -------
  4842.  
  4843. Fixes bugs:
  4844.     - Thin graphics (e.g., lines or rectangles) with small angles
  4845. relative to the X axis rendered with many points missing.  (gxdraw.c,
  4846. gxfill.c)
  4847.     - The character cache rejected oversampled characters if the
  4848. scaled-up size was too large, even if the scaled-down size wasn't.
  4849. (gxchar.h, gschar.c, gxccache.c, gxccman.c)
  4850.     - A call on sqrt with an integer argument didn't promote it
  4851. explicitly to double, which is required for non-ANSI compilers.
  4852. (gshtscr.c)
  4853.  
  4854. Finishes implementing the TransferFunction entry in halftone
  4855. dictionaries.  (gsht1.c)
  4856.  
  4857. Modifies the character oversampler so it can produce gray scale
  4858. output instead of a 1-bit mask.  We don't actually make use of this
  4859. ability yet.  (gxccman.c)
  4860.  
  4861. Adds gs_set/currentfilladjust for access to the fill adjustment
  4862. parameter in the graphics state.  (gsstate.h, gsstate.c)
  4863.  
  4864. Changes the names of the last few routines beginning with gz_ to
  4865. begin with gx_ instead.  (gzdraw.h => gxdraw.h, gsimage*.c, gxdraw.c,
  4866. gxfill.c, gxstroke.c)
  4867.  
  4868. Properly implements the PageSize, Margins, .HWMargins, and ImagingBBox
  4869. device parameters for all devices.  (gscoord.c, gsdparam.c, gspath2.c)
  4870. Implements the NumCopies device parameter for printer devices.
  4871. (gdevprn.c)
  4872.  
  4873. Implements std_device_body macros to help insulate statically initialized
  4874. non-printer devices from future changes in the gx_device structure.
  4875. (gxdevice.h, ... many .c files ...)
  4876.  
  4877. Version 3.0.3 (9/16/94)
  4878. =============
  4879.  
  4880. This is primarily a bug fix release; it also implements most of the
  4881. remaining Level 2 loose ends (except for setpagedevice).
  4882.  
  4883. Documentation
  4884. -------------
  4885.  
  4886. Changes code that refers to "Ghostscript" to use the correct product
  4887. name from gs_product.  (gs.mak, gdevpbm.c, gdevsun.c, gswppm.c)
  4888.  
  4889. Documents the new .forgetsave operator.  (language.doc)
  4890.  
  4891. Clarifies the distinction between commercial licensing and single-copy
  4892. end-user sales.  (readme)
  4893.  
  4894. Procedures
  4895. ----------
  4896.  
  4897. Fixes bugs:
  4898.     - The compilation rule for gdevadmp.c was missing from the
  4899. makefile.  (devs.mak)
  4900.  
  4901. Changes the version numbering scheme back to A.B.C, since too many
  4902. people got confused by the change to A.BC.  (gconfig.c, gs.c,
  4903. gs_init.ps)
  4904.  
  4905. Adds a -dNOGC switch to prevent the garbage collector from being
  4906. enabled.  (gs_init.ps)
  4907.  
  4908. Utilities
  4909. ---------
  4910.  
  4911. Removes the ps2image utility, since the new psmono driver replaces it.
  4912.  
  4913. Drivers
  4914. -------
  4915.  
  4916. Fixes bugs:
  4917.     - The TIFF drivers incorrectly assumed that short and ulong
  4918. were the same size as TIFF_short and TIFF_ulong, causing problems on
  4919. 64-bit systems.  (gdevtfax.c)
  4920.     - The EGA/VGA driver didn't do gray halftones properly if it
  4921. was configured as a monochrome or 8-color device.  (gdevpcfb.h)
  4922.     - The comment in gdevevga.c incorrectly identified the file
  4923. as gdevpcfb.c.  (gdevevga.c)
  4924.  
  4925. Changes the PC display drivers to save and restore more of the BIOS
  4926. state.  (gdevpcfb.h, gdevevga.c, gdevpcfb.c, gdevsco.c)
  4927.  
  4928. Adds a new psmono driver that does the same thing as ps2image, faster
  4929. and more conveniently.  (gdevpsim.c)
  4930.  
  4931. Replaces the X11 driver with the one from 3.01, since the color
  4932. handling rewrite in 3.02 introduced serious bugs.  (gdevx.h, gdevx.c,
  4933. gdevxini.c)
  4934.  
  4935. Platforms
  4936. ---------
  4937.  
  4938. Changes the definition of gx_no_color_index to work around one of the
  4939. bugs in the SGI Irix compiler.  (gxdcolor.h)
  4940.  
  4941. Rewrites the installation commands in unix-end.mak so they don't have
  4942. very long lines.  (unix-end.mak)
  4943.  
  4944. Fonts
  4945. -----
  4946.  
  4947. Fixes bugs:
  4948.     - Fonts that used 2- or 4-element arrays in the Metrics dictionary
  4949. interpreted the width and side bearing interchanged with each other.
  4950. (gs_type1.ps)
  4951.     - Setting FONTPATH on the command line didn't work.  (gs_fonts.ps)
  4952.  
  4953. Streams
  4954. -------
  4955.  
  4956. Fixes bugs:
  4957.     - The stream position wasn't updated properly if sgets
  4958. crossed a buffer boundary.  (stream.c)
  4959.  
  4960. Extends the BoundedHuffman filters so they can encode and decode runs of
  4961. zeros specially, and so they mark and detect EOD.  (sbhc.h, shc.h, sbhc.c,
  4962. zfilter2.c)
  4963.  
  4964. Provides an alternate implementation of file streams which doesn't use
  4965. stdio buffering and which works around the System V "interrupted system
  4966. call" problem.  (stream.c, sfile.c, sfileno.c)
  4967.  
  4968. Increases the maximum LZW output code from 3000 to 4095.  (slzwe.c)
  4969.  
  4970. Interpreter
  4971. -----------
  4972.  
  4973. Fixes bugs:
  4974.     - Opening a filter on a file of the wrong access type (read
  4975. vs. write) didn't cause an error.  (stream.h, sbasic.c, zfile.c, zfileio.c)
  4976.     - save performed an extra, unnecessary gsave.  (zvmem.c)
  4977.     - sethalftone always gave a /undefined error.  (zht2.c)
  4978.     - eexec decryption read too much data from the input -- in
  4979. Level 2, it isn't allowed to read 512 characters ahead.  (sfilter.h,
  4980. strimpl.h, seexec.c, sstring.c, zfileio.c, zmisc1.c)
  4981.     - The scanner was too aggressive about allocating additional
  4982. space for strings on small machines.  (iscan.c)
  4983.     - The AccurateScreens flag in Type 1 and Type 2 halftone
  4984. dictionaries was being ignored.  (zht2.c)
  4985.     - The Level 2 definition of margins in statusdict didn't
  4986. allow for Margins being undefined in the current page device.
  4987. (gs_lev2.ps)
  4988.     - The Interpolate flag was being ignored in image
  4989. dictionaries.  [implemented in library]
  4990.     - The TransferFunction option was being ignored in halftone
  4991. dictionaries.  (zht2.c)
  4992.     - Type 5 halftones usually didn't work, because they called
  4993. the wrong (or an invalid) spot function.  (zht2.c)
  4994.  
  4995. Implements a .forgetsave operator that effectively causes a given save (and
  4996. all more recent saves) to disappear.  (isave.h, stream.h, isave.c, zfile.c,
  4997. zvmem.c)
  4998.  
  4999. Library
  5000. -------
  5001.  
  5002. Fixes bugs:
  5003.     - In the 1-operand form of the image operator, a Decode value of [1
  5004. 0] with 8-bit sample values and a single data source was treated the same
  5005. as [0 1].  (gsimage1.c)
  5006.     - Some Monotype fonts put a callsubr between an OtherSubr call and
  5007. the following 'pop' opcodes (which the Adobe documentation forbids); The
  5008. Type 1 font interpreter gave an invalidfont error rather than allowing
  5009. this.  (gxtype1.h, gstype1.c)
  5010.     - Patterns didn't implement XStep and YStep properly.
  5011. (gxpcolor.h, gspcolor.c, gxclip2.c)
  5012.     - Clipping regions were sometimes 1 pixel too small at the edges;
  5013. this could cause vertical and horizontal lines produced by certain Windows
  5014. drivers to disappear.  (gzpath.h, gxacpath.c, gxcpath.c, gxfill.c)
  5015.     - Oversampling cached rotated characters produced very bad
  5016. results (many dropouts).  (gschar.c)
  5017.     - Rendering a DeviceGray color on a DeviceCMYK device applied
  5018. the transfer function to all 4 components, not just to the K
  5019. component.  (gxcmap.c)
  5020.     - A screen specified with setcolorscreen didn't take effect
  5021. properly on CMYK devices.  (gsht.c)
  5022.  
  5023. Implements the Interpolate option for images.  Currently this is only
  5024. implemented for portrait-orientation images (no rotation, skewing, or
  5025. X-reflection).  (gscspace.h, gximage.h, gscie.c, gscolor.c, gscolor1.c,
  5026. gscolor2.c, gspcolor.c, gxcmap.c, gsimage.c, gsimage2.c, gsimage3.c)
  5027.  
  5028. Implements AccurateScreens, but only in the form of a larger limit on
  5029. the size of a halftone super-cell.  (gxht.h, gsht.c, gsht1.c)
  5030.  
  5031. Starts to implement the TransferFunction option for halftones.
  5032. (gzht.h, gzstate.h, gsht.c, ...too many others to list...)
  5033.  
  5034. Version 3.02 (8/30/94)
  5035. ============
  5036.  
  5037. This is another bug fix release.  It was distributed only to a few people,
  5038. since the new X Windows color mapping code is not reliable yet.
  5039.  
  5040. Documentation
  5041. -------------
  5042.  
  5043. Fixes bugs:
  5044.     - make.doc, but not unixtail.mak, called for setting PLATFORM=unix_
  5045. on SVR4 platforms.  (unixtail.mak)
  5046.     - drivers.doc contained some wording that suggested that
  5047. Ghostscript always used RGB colors internally.  (drivers.doc)
  5048.     - The definition of gx_device in drivers.doc had gotten out of sync
  5049. with gxdevice.h.  (drivers.doc)
  5050.     - README claimed that Ghostscript is not compatible with the
  5051. VAX/VMS DEC C compiler, which is no longer true.  (readme)
  5052.  
  5053. Adds a new section on printer drivers to drivers.doc.  (drivers.doc)
  5054.  
  5055. Adds a large number of new display boards to the 800x600 SVGA section of
  5056. use.doc.  (use.doc)
  5057.  
  5058. Adds a bug report form to the README file.  (readme)
  5059.  
  5060. Notes that OSF/1 AXP systems require changing the definition of INSTALL
  5061. from install to installbsd.  (make.doc)
  5062.  
  5063. Procedures
  5064. ----------
  5065.  
  5066. Removes -Wno-uninitialized from the gcc flags, and fixes all the places (in
  5067. Aladdin's code only) that need to be fixed to pacify gcc after doing this.
  5068. (gcc-head.mak, gdevgif.c, gdevmem2.c, gdevpcl.c, gs.c, gsht1.c, gsimpath.c,
  5069. gsutil.c, gxclread.c, gxpcopy.c, gxstroke.c, idict.c, iscannum.c, stream.c,
  5070. zdevice2.c) (NOT FINISHED YET)
  5071.  
  5072. Adds a FAKEFONTS switch that makes fake entries in FontDirectory for
  5073. unloaded fonts, for the benefit of programs that think they can find all
  5074. the available fonts by scanning FontDirectory.  (gs_fonts.ps, gs_init.ps)
  5075.  
  5076. Utilities
  5077. ---------
  5078.  
  5079. Fixes bugs:
  5080.     - ps2epsi didn't work, because setdevice now erases the page.
  5081. (ps2epsi.ps)
  5082.     - ps2epsi didn't work, because -dNODISPLAY installs a null device
  5083. with 0 width and height.  The fix -- to remove the -dNODISPLAY -- is not
  5084. satisfactory, because it opens an unnecessary window.  (ps2epsi)
  5085.  
  5086. Drivers
  5087. -------
  5088.  
  5089. Fixes bugs:
  5090.     - gdev_fax_open was incorrectly declared static in gdevtfax.c,
  5091. causing the extern reference in the dfax drivers not to be resolved.
  5092. (gdevtfax.c)
  5093.     - devs.mak included a duplicate definition of gdevmswn_h.
  5094. (devs.mak)
  5095.     - The fax drivers didn't link properly in Level 1 systems, because
  5096. shc.c was omitted from their dependency list.  (gs.mak, devs.mak)
  5097.     - The TIFF/F drivers didn't set RowsPerStrip properly.
  5098. (gdevtfax.c)
  5099.     - The TIFF/F drivers didn't byte-align the EOL properly.  (scfx.h,
  5100. gdevdfax.c, gdevtfax.c, scfe.c, zfilter2.c)
  5101.     - The rule for compiling gdevpccm.c incorrectly specified
  5102. dependency on gs.h rather than gx.h.  (devs.mak)
  5103.     - The rule for compiling gdevtfax.c didn't include time_.h as a
  5104. dependency.  (devs.mak)
  5105.     - The mode 2 compression routine for the DeskJet/LaserJet printers
  5106. was broken.  (gdevpcl.c)
  5107.  
  5108. Removes the -O0 from the compilation rule for gdevsco.c, since it was
  5109. misplaced to begin with.  (devs.mak)
  5110.  
  5111. Adds a maxDynamicColors X resource to control dynamic allocation in the
  5112. color map.  Replaces the X color lookup algorithms with completely new
  5113. ones, for a substantial performance gain.  (gdevx.h, gdevx.c, gdevxini.c)
  5114.  
  5115. Adds PageNumber, Software, and DateTime entries to the TIFF/F drivers.
  5116. (gdevtifs.h, gdevtfax.c)
  5117.  
  5118. Changes the margins for the LaserJet 4 to 0.  (gdevdjet.c)
  5119.  
  5120. Adds a user-contributed LaserJet 4 driver that does Floyd-Steinberg
  5121. dithering.  (gdevcdj.c)
  5122.  
  5123. Platforms
  5124. ---------
  5125.  
  5126. Fixes bugs:
  5127.     - The exit codes for Ghostscript should be different on VMS.
  5128. (iastate.h, gs.c, gsmain.c, igc.c, igcref.c)
  5129.     - The VMS DEC C compiler declares malloc and free in stdlib.h, and
  5130. delete and unlink in stdlib.h.  (malloc_.h, stdio_.h)
  5131.     - st_prn_device wasn't defined, which upset the VMS linker even
  5132. though there were no references.  (gdevprn.h)
  5133.     - stdpre.h didn't bring in the right headers when running gcc on
  5134. SCO Unix, causing compilation warnings/errors.  (stdpre.h)
  5135.     - The definition of rename in gp_sysv didn't include const for the
  5136. arguments.  (gp_sysv.c)
  5137.     - The definition of gettimeofday in gp_sysv didn't return any
  5138. value.  (gp_sysv.c)
  5139.     - time_.h didn't work on MS-DOS systems.  (time_.h)
  5140.     - math_.h didn't include <math.h> when compiling with gcc on VMS
  5141. systems.  (math_.h)
  5142.     - DesqView/X doesn't have a 'cat' command, which caused problems in
  5143. the linking step.  (dvx-tail.mak)
  5144.  
  5145. Changes the definitions of popen in gdevpipe.c and gp_unix.c so they don't
  5146. specify the argument list.  This is an attempt to get around the fact that
  5147. there is no easy way to detect whether the available header files declare
  5148. popen correctly (with const arguments), incorrectly (with non-const
  5149. arguments), or not at all.  (gdevpipe.c, gp_unix.c)
  5150.  
  5151. Replaces VMS.MAK, VMS-CC.MAK, and VMS-AXP.MAK with new versions provided by
  5152. a user.  (vms.mak, vms-cc.mak, vms-axp.mak)
  5153.  
  5154. Changes the 16-bit Borland makefiles so their standard configuration is
  5155. Level 1 plus color.dev (CMYK color and colorimage).  (bc.mak, bcwin.mak)
  5156.  
  5157. Fonts
  5158. -----
  5159.  
  5160. Fixes bugs:
  5161.     - cfonts.mak still referred to some .gsf files that have been
  5162. replaced by .pfa files.  (cfonts.mak)
  5163.     - Compiled fonts got entered into FontDirectory, but didn't get
  5164. registered as resources.  (gs_ccfnt.ps)
  5165.     - The Cyrillic, Kana, Hershey .gsf, and URW fonts didn't include a
  5166. necessary systemdict begin/end, which caused them to fail in badly designed
  5167. environments.  (fonts/f*.gsf, fonts/h*.gsf, fonts/?0*.gsf)
  5168.  
  5169. Changes the default target directory in cfonts.mak from fonts/c to .;
  5170. changes the names of the Zapf Chancery compiled font procedures from c* to
  5171. zc*.  (cfonts.mak)
  5172.  
  5173. Adds more fonts from the Adobe Type Manager package for MS Windows to
  5174. Fontmap.ATM.  (fontmap.atm)
  5175.  
  5176. Adds the entire set of 35 standard fonts to the ccfonts feature in gs.mak;
  5177. removes all the compilation rules for compiled fonts, since these rules are
  5178. in cfonts.mak already.  (gs.mak)
  5179.  
  5180. Interpreter
  5181. -----------
  5182.  
  5183. Fixes bugs:
  5184.     - kshow executed a null, rather than the correct procedure, between
  5185. the characters of the string, and got a typecheck error at the end.
  5186. (zchar.c)
  5187.     - MultiMaster fonts computed their side bearing and width
  5188. incorrectly, producing incorrect output.  (zchar1.c)
  5189.     - There was no structure definition for gs_type1_state, so a GC
  5190. during the execution of an OtherSubrs procedure could scramble pointers in
  5191. the saved state.  (zchar1.c, zfont1.c; also affects library, see below)
  5192.     - kshow didn't work properly if the kerning procedure changed the
  5193. depth of the operand or dictionary stack.  (zchar.c)
  5194.     - If the element count for roll was too large by only 1 or 2, the
  5195. result was a crash rather than a rangecheck.  (zstack.c)
  5196.     - restore didn't undo currentgstate.  (igstate.h, store.h,
  5197. gsstate.c, zdevice2.c, zdps1.c, ztype.c)
  5198.     - The scanner didn't set the local bit properly in a suspended
  5199. state.  (iscan.c)
  5200.     - copypage disregarded #copies.  (gs_init.ps)
  5201.     - An incorrectly declared pointer led to addressing faults on
  5202. 16-bit systems.  (zchar1.c)
  5203.     - The cache for Separation colors was allocated with one element
  5204. too few.  (zcsindex.c)
  5205.  
  5206. Changes `executive' so that if an error other than EOF occurs in the
  5207. reading of the statement, the interpreter prints the error message, but
  5208. control remains in the executive loop.  (This isn't a very good fix; a
  5209. better one will require refactoring executive / execute / run.)
  5210. (gs_init.ps)
  5211.  
  5212. Changes dictionary undo saving to use the new ref_must_save macro [internal
  5213. change only].  (idict.c)
  5214.  
  5215. Moves configuration definitions from iinit.c to gconfig.c.  (gcdefs.h,
  5216. interp.h, gconfig.c, gs.c, iinit.c, zmisc2.c, gs.mak)
  5217.  
  5218. Moves =string from systemdict to userdict for Adobe compatibility.
  5219. (gs_init.ps)
  5220.  
  5221. Starts to implement the Interpolate flag in image dictionaries.  See under
  5222. Library below for restrictions.  (zpaint.c, zimage2.c)
  5223.  
  5224. Streams
  5225. -------
  5226.  
  5227. Fixes bugs:
  5228.     - stream_compact attempted to compact a read-only string being used
  5229. as the data source of a filter.  (sbasic.c, stream.c)
  5230.  
  5231. Adds an EncodedEOLAlign flag to the CCITTFaxEncode stream, to allow direct
  5232. generation of TIFF/F output.  (scfx.h, scfe.c, zfilter2.c)
  5233.  
  5234. Library
  5235. -------
  5236.  
  5237. Fixes bugs:
  5238.     - There was no structure definition for gs_type1_state, so a GC
  5239. during the execution of an OtherSubrs procedure could scramble pointers in
  5240. the saved state.  (gxfont1.h, gxtype1.h, gstype1.c, gxhint2.c)
  5241.     - A couple of calls had to discard const, but didn't include the
  5242. necessary cast.  (gxpcmap.c)
  5243.     - makeimagedevice refused to accept an empty image.  (gsdevice.c)
  5244.     - The extra parentheses around arguments in memory_.h caused some
  5245. compilers to fail.  (memory_.h)
  5246.     - Floating point overflows during coordinate conversion terminated
  5247. Ghostscript.  (gxfarith.h, gxfixed.h, gsmatrix.c, gsmisc.c)
  5248.     - Accents still weren't getting placed properly on characters
  5249. created with seac.  (gstype1.c, gxhint2.c)
  5250.     - The SGI C compiler couldn't handle the (perfectly legal)
  5251. definitions of dev_init_[open_]misc.  (gxdevice.h)
  5252.     - string_.h caused some problems with gcc on some versions of
  5253. Solaris.  (string_.h)
  5254.     - The halftone levels for color screens were computed incorrectly.
  5255. (gzht.h, gxdither.c)
  5256.     - Color screens sometimes had vertical stripes of solid color
  5257. interspersed.  (gxcht.c)
  5258.     - Colors could get mapped incorrectly if a compiler aggressively
  5259. (and incorrectly) reordered the computation of procedure arguments
  5260. involving the unit_frac macro.  (gxcmap.c)
  5261.     - setcachedevice[2] insisted that the corners of the bounding box
  5262. be given in the correct order, i.e., llx < urx and lly < ury.  (gschar.c)
  5263.     - The image operator gave a limitcheck on unrotated 1-bit-per-pixel
  5264. images whose width in device coordinates exceeded 65529.  (gsimage.c)
  5265.     - The garbage collector didn't trace the input data of an
  5266. in-progress image operator correctly.  (gsimage.c)
  5267.  
  5268. Changes the max_rgb and dither_rgb members of gx_device_color_info to
  5269. max_color and dither_colors, since Ghostscript now uses these for CMYK
  5270. devices as well.  Also changes dither_gray to dither_grays.  (gdevmem.h,
  5271. gdevprn.h, gxdevice.h, gdevbit.c, gdevcdj.c, gdevprn.c, gdevxini.c,
  5272. gsdparam.c, gxcht.c, gxcmap.c)
  5273.  
  5274. Starts to implement the Interpolate option for images.  Currently this is
  5275. only implemented for image, not imagemask, and only for rotations that are
  5276. multiples of 90 degrees (possibly with reflection).  (gsimage.h,
  5277. gsiscale.h, gximage.h, gsimage.c, gsimage1.c, gsiscale.c)
  5278.  
  5279. Starts to implement XStep and YStep in pattern dictionaries.  (gxdcolor.h,
  5280. gxpcolor.h, gspcolor.c, gxpcmap.c)
  5281.  
  5282. Version 3.01 (8/14/94)
  5283. ============
  5284.  
  5285. This is a patch release to fix early problems in release 3.0, and to clean
  5286. up a few known loose ends.
  5287.  
  5288. Documentation
  5289. -------------
  5290.  
  5291. Fixes bugs:
  5292.     - language.doc still documented the devicename procedure, which has
  5293. been withdrawn.  (language.doc)
  5294.     - drivers.doc didn't specify under what circumstances each
  5295. procedure could be called.  (drivers.doc)
  5296.     - current.doc said that setcachedevice and makeimagedevice wouldn't
  5297. accept packed arrays, but neither of these operators takes any array
  5298. arguments.  (current.doc)
  5299.     - current.doc said that definefont didn't interact properly with
  5300. the resource machinery, which apparently is no longer true.  (current.doc)
  5301.     - make.doc incorrectly gave the name of the DVX makefile as
  5302. dvx-djg.mak rather than dvx-gcc.mak.  (make.doc)
  5303.     - In one place, devices.doc incorrectly used -sBitsPerPixel= rather
  5304. than -dBitsPerPixel=.  (devices.doc)
  5305.  
  5306. Notes that a kernel bug in SCO Unix makes Ghostscript not work correctly in
  5307. some circumstances.  (use.doc)
  5308.  
  5309. Procedures
  5310. ----------
  5311.  
  5312. Fixes bugs:
  5313.     - devs.mak incorrectly referred to gdevjetp.c instead of
  5314. gdev3852.c.  (devs.mak)
  5315.     - The obsolete file gsprops.c was accidentally included in the
  5316. fileset.
  5317.  
  5318. Changes the version numbering scheme from A.BCC to A.B[C].  E.g., this
  5319. release will be 3.01, not 3.001.  (gs_init.ps, gs.c, iinit.c)
  5320.  
  5321. Adds the LaserJet 4 driver to all makefiles that already include the
  5322. LaserJet 3 driver.  (*.mak)
  5323.  
  5324. Adds the BJ-200 driver to all makefiles that already included the BJ-10e
  5325. driver.  (*.mak)
  5326.  
  5327. Splits the Unix 'install' target into install-exec and install-data.  Moves
  5328. the executable scripts from gsdatadir to a new directory scriptdir, which
  5329. defaults to bindir.  (ansihead.mak, cc-head.mak, gcc-head.mak,
  5330. unix-end.mak)
  5331.  
  5332. Utilities
  5333. ---------
  5334.  
  5335. Fixes bugs:
  5336.     - genconf had fixed buffer sizes built into it, which it could
  5337. overrun its working storage without checking.  (genconf.c)
  5338.  
  5339. Removes RCS or SCCS headers from two utility files.  (pj-gs.sh,
  5340. printafm.ps)
  5341.  
  5342. Drivers
  5343. -------
  5344.  
  5345. Fixes bugs:
  5346.     - The new dfaxhigh and dfaxlow drivers didn't set
  5347. state.EncodedByteAlign to false.  (gdevdfax.c)
  5348.     - The sunview driver assumed that the device would be open before
  5349. map_rgb_color was called.  (gdevsun.c)
  5350.     - The CP50 driver incremented page_count itself, rather than
  5351. letting the core library do it.  (gdevcp50.c)
  5352.     - The GIF driver(s) could loop indefinitely under certain
  5353. circumstances.  (gdevgif.c)
  5354.     - The Group 4 fax drivers incorrectly included end-of-line codes in
  5355. the output.  (gdevtfax.c, gdevdfax.c)
  5356.     - The Group 4 fax drivers could put out an EOB in the middle of the
  5357. data.  (scfe.c)
  5358.     - The DesignJet 650C driver didn't use the correct compression
  5359. mode.  (gdevcdj.c)
  5360.     - The Hercules and EGA/VGA/SVGA drivers computed the page height
  5361. incorrectly according to the A4 switch.  (gdevherc.c, gdevpcfb.h)
  5362.  
  5363. Changes the page_count and showpage_count members of the device structure
  5364. from int to long.  (gxdevice.h, gdevprn.c, gsdparam.c)
  5365.  
  5366. Changes the faxg3, faxg32d, and faxg4 drivers so that, like the TIFF and
  5367. dfax drivers, they adjust the page size to one of the three CCITT standard
  5368. sizes if this is reasonable.  (gdevtfax.c)
  5369.  
  5370. Splits the bit driver into bit, bitrgb, and bitcmyk.  Adds bitrgb and
  5371. bitcmyk to all makefiles that included bit.  (*.mak, devs.mak, gdevbit.c)
  5372.  
  5373. Replaces the atiw16, tseng16, and tvga16 SuperVGA drivers with a single
  5374. svga16 driver that allows specifying the display mode number.  (devs.mak,
  5375. gdevpcfb.c)
  5376.  
  5377. Platforms
  5378. ---------
  5379.  
  5380. Fixes bugs:
  5381.     - The MS Windows and OS/2 drivers allocated their terminal input
  5382. buffers in a way that could cause the GC to crash.  (gp_mswin.c, gp_os2.c)
  5383.     - The handling of gettimeofday on SVR4 platforms was incorrect.
  5384. (time_.h, gp_sysv.c, gp_unix.c)
  5385.     - On some platforms, function prototypes were not enabled even if
  5386. __STDC__ was defined.  (stdpre.h)
  5387.     - The VMS build script referred to an obsolete feature lev2only.
  5388. (vms.mak)
  5389.  
  5390. Changes the DVX platform so that stdprn is buffered.  This should improve
  5391. printing performance dramatically.  (gp_dvx.c)
  5392.  
  5393. Fonts
  5394. -----
  5395.  
  5396. Fixes bugs:
  5397.     - Setting DISKFONTS resulted in a reference to FontFileDirectory
  5398. before it was defined.  (gs_type1.ps, gs_fonts.ps)
  5399.     - /Font findresource gave an error rather than doing font
  5400. substitution.  (gs_res.ps)
  5401.     - FontDirectory wasn't rebound to GlobalFontDirectory when global
  5402. VM was current.  (gs_res.ps, zdict.c)
  5403.     - Type 1 fonts weren't loaded into global VM.  (gs_fonts.ps)
  5404.     - In the standard Fontmap, the Utopia fonts had extension .gsf
  5405. rather than .pfa.  (fontmap.gs)
  5406.     - Fonts whose FontBBox was [0 0 0 0] were not displayed, or were
  5407. displayed as tiny dots.  (gs_type1.ps)
  5408.  
  5409. Interpreter
  5410. -----------
  5411.  
  5412. Fixes bugs:
  5413.     - dict_put could read from the variable pvslot before it was used.
  5414. (This was harmless, since the value was never actually used; it just upset
  5415. Purify.)  (idict.c)
  5416.     - Binary object sequences could cause addressing faults.
  5417. (iscanbin.c)
  5418.     - The attributes on names were set incorrectly in binary object
  5419. sequences.  (iscanbin.c)
  5420.     - gs.c duplicated (in some cases incorrectly) some definitions in
  5421. interp.h.  (gs.c)
  5422.     - gs_lib_paths was declared const in one place and non-const in
  5423. another.  (zfile.c)
  5424.     - file_restore and font_restore had inconsistent const declarations
  5425. for their argument.  (isave.c)
  5426.     - iodev_os_open_file was missing its last formal parameter.
  5427. (ziodev.c)
  5428.     - gs.c declared gs_devicename with an incorrect extern.  (gs.c)
  5429.     - undefinefont didn't interact properly with the resource
  5430. machinery.  (gs_lev2.ps)
  5431.     - The declaration for swap_entry used a typedef name as a formal
  5432. parameter, which upset some compilers.  (zmisc2.c)
  5433.     - Including the ccinit feature could cause the garbage collector to
  5434. make an invalid access.  (stream.c)
  5435.     - The check for t_[a]struct types in ztype.c was incorrect.
  5436. (ztype.c)
  5437.     - After the collection of halftone samples, temporary data
  5438. structures were freed incorrectly.  (gzht.h, gsht1.c, zht.c)
  5439.     - Images with source width between 489 and 492 crashed the
  5440. memory manager.  (iastate.h)
  5441.  
  5442. Makes it possible to define SEARCH_HERE_FIRST (gsmain.c) in the makefile.
  5443. (gsmain.c)
  5444.  
  5445. Splits the Level 2 resource machinery into a separate file.  (gs_lev2.ps,
  5446. gs_res.ps, gs.mak, unix-end.mak, vms.mak).
  5447.  
  5448. Changes the names of the DiffEncode/Decode filters to
  5449. PixelDifferenceEncode/Decode, and splits them off into a separate
  5450. "feature".  (gs.mak, zfilter2.c, zfpdiff.c, spdiff.c, spdiffx.h)
  5451.  
  5452. Adds experimental code for filtered image scaling.  DON'T USE THIS CODE.
  5453. (zimage2.c)
  5454.  
  5455. Streams
  5456. -------
  5457.  
  5458. Fixes bugs:
  5459.     - The CCITTFaxEncode filter could put out an EOB in the middle of
  5460. the data.  (scfe.c)
  5461.  
  5462. Splits off the PixelDifferenceEncode/Decode filters into a separate
  5463. "feature".  (gs.mak)
  5464.  
  5465. Library
  5466. -------
  5467.  
  5468. Fixes bugs:
  5469.     - gs_setcachedevice could return a garbage error code.  (gschar.c)
  5470.     - joins on stroked lines were incorrect if the device coordinate
  5471. system mapped +Y to +Y.  (gxstroke.c)
  5472.     - If gsmisc.c supplied versions of missing library routines, they
  5473. could clash with the names of the real ones if those were present
  5474. unexpectedly.  (memory_.h, gsmisc.c)
  5475.     - The initialization expression for is_open in the
  5476. dev_init_misc_open macro included a cast, which some compilers don't allow.
  5477. (gxdevice.h, gsdevice.c, gxclip2.c, gxpcmap.c)
  5478.     - In Type 1 fonts, character that specified their side bearing and
  5479. width with sbw rather than hsbw gave an invalidfont error.  (gstype1.c)
  5480.     - Some procedures were declared inconsistently with regard to const
  5481. arguments.  (gscie.c, gxpcmap.c, gxacpath.c, gxcmap.c)
  5482.     - A few places still assumed that pointers occupied 4 bytes.
  5483. (gxclist.c)
  5484.     - Rendering a gray halftone on a CMYK device called the device's
  5485. map_rgb_color procedure instead of map_cmyk_color.  (gxdither.c)
  5486.  
  5487. Renames gsfile.c as gswppm.c.  (gsfile.c, gswppm.c)
  5488.  
  5489. Implements the ability to cache arbitrarily transformed characters.  This
  5490. is currently enabled by a compile-time flag in gschar.c.  (gschar.c)
  5491.  
  5492. Version 3.0 (8/1/94)
  5493. ===========
  5494.  
  5495. This is the first full Level 2 version released to the public.
  5496. Unfortunately, we were not able to include setpagedevice in this release.
  5497.  
  5498. Documentation
  5499. -------------
  5500.  
  5501. Fixes bugs:
  5502.     - README didn't mention Aladdin's European distributor.
  5503.     - psfiles.doc didn't describe some of the newer gs_*.ps files.
  5504.  
  5505. Notes that gcc -O2 (version 2.5.8 of gcc) generates incorrect code for some
  5506. modules on the H-P RISC architecture.
  5507.  
  5508. Notes that on AXP platforms running VMS, DEC C V4.0 is required.
  5509.  
  5510. Procedures
  5511. ----------
  5512.  
  5513. Fixes bugs:
  5514.     - 'make clean' didn't delete devs.tr or t.tr.
  5515.     - devs.mak was missing the entry for faxg32d.
  5516.     - unixansi.mak omitted some drivers that were included in
  5517. unix-cc.mak and unix-gcc.mak.
  5518.  
  5519. Updates jpeg.mak to reference version 5beta1 of the IJG JPEG code.
  5520.  
  5521. Changes the version numbering scheme from A.B.C to A.B[CC].  I.e., the
  5522. first sub-release after 3.0 will be 3.01 or 3.001, not 3.0.1.
  5523.  
  5524. Utilities
  5525. ---------
  5526.  
  5527. Fixes bugs:
  5528.     - ps2ascii didn't do a setglobal.
  5529.  
  5530. Adds an option to ansi2knr to convert ... to va_alist/va_dcl.
  5531.  
  5532. Drivers
  5533. -------
  5534.  
  5535. Fixes bugs:
  5536.     - The newly added faxg32d driver didn't have an entry in devs.mak.
  5537.     - The BMP, GIF, and PCX drivers wrote out an incorrect color
  5538. palette (the blue values were too small).
  5539.     - The vgalib driver had some compilation problems.
  5540.     - The TIFF drivers didn't produce correct multi-page output.
  5541.  
  5542. Adds faxg32d and tiffg32d drivers.
  5543.  
  5544. Reinstates the DigiFax drivers, which were withdrawn when the new fax
  5545. drivers were added.
  5546.  
  5547. Platforms
  5548. ---------
  5549.  
  5550. Fixes bugs:
  5551.     - gs_btokn.ps and gs_ccfnt.ps weren't installed on Unix platforms.
  5552.     - The VMS module list omitted SBHC, included a non-existent GXDASH,
  5553. and had incorrect names for some of the IJG JPEG files.
  5554.     - The VMS build scripts (vms*.mak) had incorrect "boilerplate".
  5555.     - The VMS script file gssetmod.com had \r characters in it, as well
  5556. as \n characters.
  5557.     - The echogs and genarch utilities didn't return the correct exit
  5558. codes under VMS.
  5559.     - The VMS Fontmap had incorrect entries for the Courier and Charter
  5560. fonts.
  5561.     - When running under Ghostview, Ghostscript didn't drain the input
  5562. pipe.  (We fixed this with a temporary patch in gs.c; this isn't a good
  5563. solution for the longer term.)
  5564.  
  5565. Fonts
  5566. -----
  5567.  
  5568. Fixes bugs:
  5569.     - The free AvantGarde, Bookman, and Palatino font families had
  5570. incorrect FontBBox values.
  5571.     - The 'f' and 'j' in the free AvantGarde-DemiOblique,
  5572. Bookman-DemiItalic, Bookman-LightItalic, and Palatino-Italic fonts were
  5573. chopped off on the right.  (The bitmaps were chopped off in the original
  5574. BDF fonts from which these fonts were made.)  ****** THIS PROBLEM WAS NOT
  5575. ACTUALLY FIXED. ******
  5576.  
  5577. Interpreter
  5578. -----------
  5579.  
  5580. Fixes bugs:
  5581.     - gs -h and gs -v didn't print the tertiary version number correctly.
  5582.     - Binary object sequences with no strings or names didn't read in
  5583. correctly.
  5584.     - Binary object sequences that crossed an input buffer boundary
  5585. didn't read in correctly.
  5586.     - Binary object sequences read in as {[e1 .. en] e1 ... en} instead
  5587. of {[e1 ... en]}.  (New bug in 2.9.x.)
  5588.     - setpattern didn't set the current color space correctly if the
  5589. current color space wasn't a Pattern space.
  5590.     - If the current color space was an uncolored Pattern space but the
  5591. current color was a colored Pattern, currentcolor returned extra values on
  5592. the operands stack.
  5593.     - .buildfont1 in gs_type1.ps didn't force binding of the old
  5594. definition, causing ps2ascii to loop endlessly.
  5595.  
  5596. Adds a facility for writing and reading dictionaries in binary object
  5597. sequences.  This is experimental and subject to change in the future.
  5598.  
  5599. Streams
  5600. -------
  5601.  
  5602. Fixes bugs:
  5603.     - gs_run_string and ccinit didn't have any way to mark the string
  5604. as "foreign", which confused the GC.
  5605.  
  5606. Library
  5607. -------
  5608.  
  5609. Fixes bugs:
  5610.     - gxchar.h had an extra comma after the last element of the
  5611. show_width_status enum, which upset some compilers.
  5612.     - stroke and strokepath didn't correctly skip zero-length segments
  5613. if the line width was less than one pixel, or if there was a closed subpath
  5614. consisting entirely of zero-length segments.
  5615.     - strokepath sometimes incorrectly added a moveto at the end of the
  5616. path.
  5617.  
  5618. Versions before 3.0
  5619. ===================
  5620.  
  5621. See the files history*.doc.
  5622.